The following action statements are provided for controlling program flow:
Statement |
Description |
action |
Specifies that a set of action statements should be executed. |
if/then/else |
A conditional action statement; specifies action statements to be performed based on whether a specified condition is true or false. |
call |
Specifies that either an external or ESL internal subroutine should be run. |
while/for loop |
Specifies action statements to be performed repeatedly, as long as a specified condition is true. |
for each loop |
Specifies action statements to be performed for each; member of an object class, child of an object, selected line of a list box, selected row/column of a table. |
leave loop |
Explicitly exits from a loop. |
switch |
Performs pattern matching on a specified string value. |