Stores an integer value to the memory as temporary variable during the current server round-trip. This is typically used during the traversal of a tree structure such as when generating a report or a bill of materials. The set value is returned.
int MemSetInt(int value; [string name])
value |
A value to store. |
name |
Optional name of a variable to store the value as. If omitted the value is set for the integer default variable. |
Example
MemSetInt(MemGetInt("Sum") + 1; "Sum")
Adds one to the integer variable "Sum".