Multiplication Assignment (*=)
The *=
operator used after the
LET
keyword, assigns a variable by multiplying the current variable value to a
numeric expression.
Syntax
variable *= expr
Important:
This operator cannot be used as an element of an
expression, it is only allowed as assignment operator with the LET
instruction.
Usage
The *=
assignment operator multiplies the value of the left-hand variable to the
right-hand numeric expression, and assigns the result to the variable.
Example
MAIN
DEFINE x INTEGER
LET x = 500
LET x *= 5
END MAIN