Skip to main content
Untitled Document

Repeat

Repeat

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)