#STORED( storedname , value );
| storedname | A string constant containing the name of the stored attribute result. |
| value | An 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 := COUNT(person) : STORED('myname');
#STORED('myname',100);
//change stored PersonCount attribute value to 100