OPERATORS
Remainder assignment (%=)
Apply remainder to the current value of the target and the right operand.
Syntax
target %= valueDescription
Apply remainder to the current value of the target and the right operand. Store the result back in the target. The operand rules are those of %.
Example
PROCEDURE Main()
LOCAL nMinute := 23 * 60 + 45
LOCAL nDelay := 35
nMinute += nDelay
nMinute %= 24 * 60
QOut( "Arrival hour", Int( nMinute / 60 ), "minute", nMinute % 60 )
RETURNOutput