logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: static variables with function scope: msg#00022

Subject: Re: static variables with function scope
Putting it in the top scope of your compilation unit is a simple hack,
for the many basic cases where that happens to be the global scope.

Another way is to add_constant() it in a separate loader file which
compiles and spawns your main code.

A third variant I just tried failed on a bus error in 7.6 and 7.7:
global.hello = "world!";




Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>