AddTo — Take variable. Add amount to it.
Value of the variable after added to.
VarName | Name of variable to add to. |
Value | How much to add. |
Unlike incr, this command does allow non-integer values (e.g. you can do AddTo MyVar 1.2
).
For information regarding exceptions / errors, see
here.
% set MyVar 123
123
% AddTo MyVar 4
127