NAME
DivideBy — Make variable become quotient after division.
SYNOPSIS
DivideBy
VarName
Value
DESCRIPTION
Return Value
New value of variable after division.
Arguments
VarName
Name of variable to divide.
Value
How much to divide by.
More Info
DivideBy x 2
is equivalent to
x /= 2
in other languages.
For information regarding exceptions / errors, see
here
.
EXAMPLES
% set MyVar 6
6
%
DivideBy MyVar 3
2
% puts $MyVar
2
SEE ALSO
AddTo
,
MultiplyBy
,
SubtractFrom
,
expr
KEYWORDS
math
,
modify
,
variable