Previous PageNext Page

7.4.30 %= Operator

Used to divide two numbers and return only the remainder
 

Syntax

result %= expression

Arguments

result
Any variable.
expression
Any expression

Remarks

Using this operator is exactly the same as specifying:
 

result = result % expression

For information on when a run-time error is generated by the %= operator, see the Operator Behavior table.
 

Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page