several questions

Saaa empty at needmail.com
Sat Feb 16 14:44:46 PST 2008


What exactly is the namespace of a function?

>> 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