08-10-2011, 03:50 PM
wiki Wrote:VarAdd(Name, Value) adds to the variable the value (x + value).
Therefore:
Code:
VarAdd(Var1,!Var2!)
Code:
!Var1!+!Var2!=!Var3!
Everytime you want to call a variable from outside a variable command (i.e VarAdd, VarSub, VarMod, etc), you need to use "!" right after and before the variable: !var!
To multiple a variable by a constant use:
wiki Wrote:VarMult(Name, Value) multiplies the variable by the value (x * value).