name | A string constant containing the name of the stored value. |
value | An expression for the value to assign to the stored name. |
The #CONSTANT statement is similar to #STORED in that it assigns the value to the name, but #CONSTANT specifies the value is not over-writable at runtime. This statement may be used outside an XML scope and does not require a previous LOADXML to instantiate an XML scope.
Example:
PersonCount := 0 : STORED('myCount');
#CONSTANT('myCount',100);
//set the stored PersonCount attribute value to 100
OUTPUT(PersonCount);
See Also: #STORED