Repeat
Syntax:
REPEAT statement_block [ EXIT LOOP ] UNTIL lexpr
statement_block will be executed until lexpr evaluates to 1, or until [EXIT LOOP] is encountered.
Example:
REPEAT xx = READ_ADC UNTIL (xx < 5)
Parent topic: Flow Control
Syntax:
REPEAT statement_block [ EXIT LOOP ] UNTIL lexpr
statement_block will be executed until lexpr evaluates to 1, or until [EXIT LOOP] is encountered.
Example:
REPEAT xx = READ_ADC UNTIL (xx < 5)