Multiplies a numeric variable with a numeric expression.
x *= y
x:numeric variable
y:aexp
x *= y multiplies the value in variable x with the expression y.
OpenW # 1
Dim x# = 6
x *= 9
Print x // Prints 54
Although *= can be used with any numeric variable, the usage of integer variables is recommended in order to achieve the maximum optimization for speed.
The following can be used instead of x*=y:
x = x * y
x := x * y
Mul x, y
When integer variables are used *= doesn't test for overflow!
+, -, ^, *, /, \, %, Add, Sub, Mul, Div, ++, --, +=, -=, /= , *=, Operator Hierarchy
{Created by Sjouke Hamstra; Last updated: 24/06/2017 by James Gaite}