Icon Constant Declarations

Constant declarations must be in the following format:

<Constant Declaration>;
[<Constant Declaration>;]

<Constant Declaration> =

   <Constant Name> = <Expression>

The <Constant Name> element must follow the rules for identifiers covered in the Introduction topic, and each constant declaration must be terminated with a semicolon statement terminator (;).

The <Expression> element can be any valid expression that does not contain any variable, function, or procedure references. In other words, the expression can only contain other constant references, or literal expressions. Examples of literal expressions can also be found in the Introduction topic.