Divides the value of a variable by the value of an expression, then assigns the remainder to the variable.
variable Rem= expression
- Required numeric variable.
- Required numeric expression
The following two statements are functionally equivalent.
variable Rem= expression variable = variable Rem expression
Because it is derived from the Rem operator, the sign of the variable becomes that of the expression.
Attempted division by zero
' Change value of property #obj.value Rem= 2