AMT Help Files
homeLION Language ReferenceCommandsLOOP...ENDLOOPLOOP

LOOP

Syntax

LOOP
  <Code lines>
ENDLOOP

Description

Perpetually executes the code lines in the loop. Execution can only terminated by breaking out of the loop in one of the three following ways.

Diagram

Returned value type

None

Parameters

None

Example

s-month := 1

loop
  proc5 ()
  s-month += 1
  if s-month > 12
    break
  endif
endloop

Contents

 Go to top