4.4. FOREVER

Syntax:


        FOREVER LOOP
          statement_block
          [ EXIT LOOP ]
        END LOOP
      

statement_block is executed forever unless [EXIT LOOP] is encountered, in which case the loop is immediately terminated. This is commonly used for the main loop in a program because an embedded program like this never ends.