gmplConstantStatement

Constant Statement Summary

Constant is a terminal, substatement of the Class statement. It has no refactoring or declaration flags associated with it.

The attributes of the Constant statement are as follows:

Attribute Description
Id This attribute is the identifier of the constant. It must be unique within the scope of the class containing it. The identifier is not case-sensitive.
Type This attribute is a Type attribute as discussed on the Declaration page. It specifies the type of the constant. If omitted, String is assumed.
Value This required attribute contains the value associated with the constant.

The script errors associated with the Constant statement are as follows:

Error Description
1040 Constant command missing required id attribute.
1041 Unable to store constant vector: %1d
1042 Constant command missing required value attribute.


Table of Contents