Declares a constant value.
Const Identifier:Type = Expression
Const Identifier:= Expression
The Const keyword declares a constant value of a given type.
The alternative syntax provided allows the variable's type to be deduced from the expression.
Local | Global | Field
Language reference
Const
EXAMPLE
:
Int
=
100
Const
NAME
:
String
=
"Bill"