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.
When used without any parameters all variables are displayed. If variable is the only parameter then just its value is displayed.
VARIABLE examples
#VA coins 1000 assign 1000 to the @coins variable
coins = 1000 same as above.
#VA people john mary joseph This creates the variable @people in the class joseph with a value of john and a default of mary. To have the value be john mary joseph use braces to seperate the parameters: #VA people {john mary joseph}
#VA simple abc
#VA @simple def This one creates the variable @simple with a value of abc. Then creates the variable @abc with a value of def. You should never have an @ in the variable name unless you plan to create an indirect reference such as this.