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('myname'); #CONSTANT('myname',100); //make stored PersonCount attribute value to 100
See Also: #STORED