STEP |
DEVELOPER |
Trail: PROIV Documentation > Developer > PROIV Developer > Developing Functions > Events and Logic > STEP
|
|
Purpose |
STEP branches to a specified step label within a logic routine. |
Syntax |
STEP step-number |
Operation |
step-number is the number of the step to which control is to be passed (1 to 99) or a variable or expression representing the number. |
Remarks |
After the statement or block with the step is executed, the logic routine exits, unless another step is called or branched to. |
Example 1 |
STEP 2 |
Example 2 |
STEP #TRAN |
Using STEP should be limited; it can produce disjointed code that is difficult to read. Consider using the IF THEN ELSE ENDIF construct or CASE logic statement instead. |
Topic ID: 520119