DO

The DO … LOOP block defines a pre-test or post-test loop.

Pre-test syntax

DO WHILE|UNTIL <condition>
  <statements>
LOOP

Post-test syntax

DO
  <statements>
LOOP WHILE|UNTIL <condition>