Conditional Commands

  

DEVELOPER

The following commands specify conditional processing within a logic routine: 

Logic Command

Description
 

CASE

Conditionally selects a statement or block of statements for execution.
 

IF THEN ELSE

Conditionally selects a statement or block of statements for execution.
 

WHILE ENDWHILE

Causes a statement or block of statements to be executed repeatedly until a condition is met.
 

FOR TO ENDFOR

Causes a statement or block of statements to be executed repeatedly until a condition is met.
 

LOOPEXIT

Transfers control from a block within a FOR or WHILE loop to the statement following the ENDFOR or ENDWHILE statement.
 

LOOPNEXT

Ignores any subsequent processing in a block and commences at the start of the next iteration of the loop.
 

 

Comment on this topic

Topic ID: 520145