Divides the value of a variable or property by the value of an expression and assigns the result to the variable or property.
x /= y
x:variable
y:aexp
x /= y divides the expression y into the value in variable x. The type of the operation is determined by the data type of the variable x. For integer variables GFA-BASIC 32 generates integer division code.
Local x% = 126
x% /= 2 + 1
Print x% // Prints 42
Although /= can be used with any numeric variable, the usage of integer variables is recommended in order to achieve the maximum optimization for speed.
+, -, ^, *, /, \, %, Add, Sub, Mul, Div, ++, --, +=, -=, /= , *=, Operator Hierarchy
{Created by Sjouke Hamstra; Last updated: 24/06/2017 by James Gaite}