FBPL Command Reference

Table Of Contents
143
10.20 DO…LOOP
Description
Repeat a block of statement while a condition is True.
Syntax
DO
[statement]
[EXITDO]
[statement]
LOOP
DO WHILE condition
[statement]
[EXITDO]
[statement]
LOOP
DO UNTIL condition
[statement]
[EXITDO]
[statement]
LOOP
DO
[statement]
[EXITDO]
[statement]
LOOP WHILE condition
DO
[statement]
[EXITDO]
[statement]
LOOP UNTIL condition
Parameter
Description
condition
Available relational operator: <, >, =, <=, >=, <>
*Relational operator <>, not equal.
Statement
One or more statements executed while condition is True.
EXITDO
Exit loop