On 03/11/2010 10:44 PM, bearophile wrote:
As far as I know, it's "enum" that has that purpose.
Oh, but they are not the same. enum declares a constant, whereas static declares a variable. A static global is still mutable.
Thank you for your answers, bearophile
Why thank you!