Declaration and constant initialization
Previous  Top  Next


The constants are anticipated by const and consisting of a name and a type: Const Name:= ….

Example1:
// constant is initialized with a Float value 
Const PI=3.14;

Example 2:
// constant is initialized with a String value
Const Title='Calculation';

Example 3:
// constant is initialized with a Integer value
Const RoundAngle=360;