#STORED

#STORED( storedname , value );

storednameA string constant containing the name of the stored attribute result.
valueAn expression for the new value to assign to the stored attribute.

The #STORED statement assigns the value to the storedname, overwriting any previous value the stored attribute had contained. 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');
#STORED('myCount',100);  
       //change stored PersonCount attribute value to 100
OUTPUT(PersonCount);

See Also: STORED, #CONSTANT