Slide 12.5: Decision directives (cont.) Slide 12.7: .WHILE directive Home |
.REPEAT
Directive
The .REPEAT directive executes the loop body before testing the runtime condition following the .UNTIL directive.
i mod j = i - (i div j) × jFor example, 10 mod 3 = 1 -10 mod -3 = -1 -10 mod 3 = -1 10 mod -3 = 1 |
|