several questions

bearophile bearophileHUGS at lycos.com
Sat Feb 16 03:45:21 PST 2008


Simen Kjaeraas:
> A static variable inside a function (which I did not cover in my last  
> post), will keep its value after the function has exited, and even when  
> it's being called again.

It's a global variable that can be accessed/used only inside the namespace of that function.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list