Tim wrote: > How do I make a value global? That is, so that it can be "seen" by any code in a file, include user-define functions? Global_Value: 0 As simple as that. > I would also welcome advice as to the pro and cons of using globals, as well as when best to use them, and what under what circumstances where such usage would be a bad idea. In any but small programs, avoid them. In small programs, it doesn't matter as much, but if you reuse your code, this bad habit will bite you. Andrew Martin Long-winded... ICQ: 26227169 http://members.xoom.com/AndrewMartin/ -><-
- [REBOL] Redirecting CGI Content Re:(2) strejcek
- [REBOL] Redirecting CGI Content Re:(3) mailinglists
- [REBOL] Redirecting CGI Content Re:(4) strejcek
- [REBOL] [REBOL]Problem with function argument tjohnson
- [REBOL] [REBOL]Problem with function argument Re: Al . Bri
- [REBOL] [REBOL]Problem with function argument Re: lmecir
- [REBOL] [REBOL]Problem with function argument Re:(2) tjohnson
- [REBOL] [REBOL]Problem with function argument Re:(3) icimjs
- [REBOL] [REBOL]Problem with function argument Re:(4) tjohnson
- [REBOL] [REBOL]Advice in using global values tjohnson
- [REBOL] [REBOL]Formatting variables in strings Al . Bri
- [REBOL] [REBOL]Formatting variables in strings tjohnson
- [REBOL] [REBOL]Advice in using global values Re: chaz
- [REBOL] [REBOL]Problem with function argument Re: ingo
- [REBOL] Redirecting CGI Content Re:(5) mailinglists