This command starts a loop. <parameter> defines the number times the loop will be executed and can have a value of up to 9999. The loop must end with an ENDDO command.
<parameter> must be either fixed numerical value or a parameter with a numerical content.
You can useEXIT to conditionally terminate the loop. The exit condition is checked in each loop iteration. If the condition is satisfied, the loop is immediately ended and the statement after ENDDO is executed.
DO loops can be nested.
Counter = Counter + 1.
EXIT ( Counter = 3 ).
REF ( XYZ , XYZ_1 ).