8-14
8.8.4 Repeat
This controls repetition according to a designated condition. There are 4
commands for this.
In FOR ~ NEXT statements, place a repetition condition after the FOR line.
The process from FOR to the corresponding NEXT line repeats until this
condition is satisfied.
In DO ~ LOOP statements, place a relational expression after WHILE or
UNTIL. While this is satisfied (in the case of WHILE) or until this is satisfied
(in the case of UNTIL) , the process between the DO line and the Loop line
repeats itself.
In WHILE ~ WEND statements, place a relational expression after WHILE.
While this is satisfied, the process between the WHILE line and the WEND line
repeats itself. This has the same function as DO WHILE ~ LOOP statements.
In REPEAT ~ UNTIL statements, place a relational expression after UNTIL.
Until this is satisfied, the process between the REPEAT line and the UNTIL line
repeats itself. This has the same function as DO ~ LOOP UNTIL statements.
Comments to this Manuals