VARIABLE

Syntax: #VA variable value [defaultval] [classname]

Similar to the ALIAS command. Assigns the specified value to a variable. You do not need to specify the @ variable character. This allows you to define variables independent of the user's variable character setting.

An alternative syntax is variable = value or variable := value.

If a defaultval is specified, the variable is initialized to that value when the settings are loaded or the RESET command is used. To specify no default, leave this parameter out or use the _nodef value.

VARIABLE examples

#VA coins 1000
assign 1000 to the @coins variable
 
coins = 1000
same as above.


Contents URL VERBATIM