Iteration statements FOR
, WHILE
, REPEAT
along with the quit statement EXIT
Keyword |
Example |
Description |
---|---|---|
|
|
Defined number of loops with preset step width 1 or with user-defined step width Do not use the value of the control variable (i in this example) after the loop is finished because different values have been assigned to it. |
|
|
Loop processing while checking the loop condition before the loop |
|
|
Loop processing while checking the loop condition after the loop |
|
|
Non-conditional exiting of the loop |