Click here to Skip to main content
15,915,093 members
Home / Discussions / C#
   

C#

 
GeneralRe: static variables in methods Pin
Tom Archer5-May-02 4:46
Tom Archer5-May-02 4:46 
GeneralRe: static variables in methods Pin
Nish Nishant5-May-02 9:33
sitebuilderNish Nishant5-May-02 9:33 
GeneralRe: static variables in methods Pin
Tom Archer5-May-02 9:40
Tom Archer5-May-02 9:40 
GeneralRe: static variables in methods Pin
Nish Nishant5-May-02 9:51
sitebuilderNish Nishant5-May-02 9:51 
GeneralRe: static variables in methods Pin
Tom Archer5-May-02 10:04
Tom Archer5-May-02 10:04 
GeneralRe: static variables in methods Pin
Nish Nishant5-May-02 10:09
sitebuilderNish Nishant5-May-02 10:09 
GeneralRe: static variables in methods Pin
Tom Archer5-May-02 10:20
Tom Archer5-May-02 10:20 
GeneralRe: static variables in methods Pin
Nish Nishant5-May-02 10:24
sitebuilderNish Nishant5-May-02 10:24 
Tom Archer wrote:
Are you sure you're taking your Lithium like you're supposed to

Gosh! Not that old AI bot thing again Smile | :)

Tom Archer wrote:
If you write a function that can call itself (a recursive function) one way to maintain state information is via static variables because they won't reinitilaize in the function's prolog.

I thought of that actually. But I thought since it was Tom Archer saying it, there ought to be a more complicated explantion to it Smile | :)

Didn;'t think that the obvious one would be the only one.

Nish


The posting stats are now in PDF:-
http://www.busterboy.org/codeproject/
Feel free to make your comments.
Updated - May 04th, Saturday

GeneralRe: static variables in methods Pin
Tom Archer5-May-02 10:35
Tom Archer5-May-02 10:35 
GeneralRe: static variables in methods Pin
Nick Parker5-May-02 16:33
protectorNick Parker5-May-02 16:33 
GeneralRe: static variables in methods Pin
Daniel Turini7-May-02 12:48
Daniel Turini7-May-02 12:48 
GeneralRe: static variables in methods Pin
tomiga5-May-02 19:45
tomiga5-May-02 19:45 
GeneralRe: static variables in methods Pin
Neil Van Note5-May-02 20:08
Neil Van Note5-May-02 20:08 
GeneralRe: static variables in methods Pin
James T. Johnson5-May-02 14:17
James T. Johnson5-May-02 14:17 
GeneralRe: static variables in methods Pin
Neil Van Note5-May-02 14:58
Neil Van Note5-May-02 14:58 
GeneralRe: static variables in methods Pin
James T. Johnson5-May-02 15:22
James T. Johnson5-May-02 15:22 
GeneralRe: static variables in methods Pin
Tom Archer5-May-02 16:36
Tom Archer5-May-02 16:36 
GeneralRe: static variables in methods Pin
Neil Van Note5-May-02 17:28
Neil Van Note5-May-02 17:28 
GeneralRe: static variables in methods Pin
Eric Gunnerson (msft)7-May-02 9:27
Eric Gunnerson (msft)7-May-02 9:27 
Generalassembly (technical problem) Pin
tomiga4-May-02 3:05
tomiga4-May-02 3:05 
Generalsqlconnection open dialog Pin
tomiga4-May-02 1:10
tomiga4-May-02 1:10 
Questioncan .net serve like an VBA? Pin
3-May-02 19:59
suss3-May-02 19:59 
AnswerRe: can .net serve like an VBA? Pin
Tom Archer4-May-02 4:14
Tom Archer4-May-02 4:14 
GeneralRe: can .net serve like an VBA? Pin
4-May-02 14:09
suss4-May-02 14:09 
GeneralRe: can .net serve like an VBA? Pin
James T. Johnson4-May-02 21:11
James T. Johnson4-May-02 21:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.