CONST Statement

Previous  Next

 

CONST name = value

 


 

Defines a constant.  This is a REAL, INTEGER or STRING read-only variable.  The scope of a constant is global (public) and will exist in any sub program called by current program.

 

Example:

 

CONST C3D_par_type = 0

CONST C3D_par_locked = 1

CONST C3D_par_no_of_dim = 2

CONST C3D_par_dimensions = 3

 

CONST STR_Hello = "Hello World !"