Re: problems with the scoping in eu4
- Posted by jimcbrown (admin) Jan 07, 2011
- 2060 views
coconut said...
mattlewis said...
The original request seemed to me to be for the equivalent of C's static (function-level) variables inside a particular scope.
Matt
Yes! static variables inside function would be good, as Jeremy hammer it: a variable must have shortest scope as possible. And prensently in euphoria when one need a static variable in a function it must declare it outside the function. (but after rethinking it I wouldn't add this feature to loop structure).
I will add it as a feature request
Jacques
I'm in favor.