> lang > constdecl | ![]() |
| Documentation |
|
{ PUBLIC | PRIVATE } CONST Identifier AS Datatype = Constant valueCONST declares a class global constant.
This constant is accessible everywhere in the class it is declared.
If the PUBLIC keyword is specified, it is also accessible to the other classes having a reference to an object of this class.
Constant datatype can be: Boolean, Integer, Long, Float or String.