> Hi everybody.
> 
> Well, all us knows that a constant is something that can't change.
> Then, constants would be class members. So, when a class is
> instantiated, constants should be shared by all instances.
> 
> The online help exclude the use of STATIC keyword in the declaration
> of constants, so the STATIC keyword would be innecesary. Is this
> really the case or is it necessary to declare the constants by the
> STATIC keyword? (STATIC [PUBLIC | PRIVATE] CONST)

No STATIC with CONST. Or maybe the compiler is more tolerant than that?

-- 
Benoît Minisini

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to