Constant is a code element that represents a constant value: a value that can be calculated at compile time.
The type of a constant depends on the type of constant expression used for its declaration.
Class A
Const a1 = 1;
Public Const a2 = 2;
Protected Const a3 = 3;
Friend Const a4 = 4;
Const a5 = 5;
End Class;
Class B: A
New Public Const a5 = 100;
End Class;
See also: