DO
Reference
Syntax
DO [n TIMES]
[VARYING dobj FROM dobj1 NEXT dobj2 [RANGE range]].
[statement_block]
ENDDO.
Effect
Executes the statement block statement_block several times in one loop.
Additions
-
n TIMES
Limits the number of loop passes to n.
-
VARYING dobj FROM dobj1 NEXT dobj2 [RANGE range]
Obsolete:
Assigns a value at every loop pass to the variable dobj.
This value is determined by the sequence of dobj1 and
dobj2 in the memory. With data object dobj2, you can limit the addressable memory area.