Re: problems with the scoping in eu4

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

P.S. feature request #588 created.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu