JUMP_STEP (a child element of STEP) allows the designer to skip a certain number of STEPs. The program flow resumes right after the skipped steps.
JUMP_STEP supports the use of an integer or a numerical expression constructed by the child elements of NUMBER_OBJECT as value.
JUMP_STEP does not immediately cause the program to skip steps and jump right to the destination step. Instead, the program flow still continues, and the skippings and jumpings are done only after the end of the current step.
In this example JUMP_STEP is used to skip 1 step after the end of the current step.
- <STEP>
- ......
- <JUMP_STEP>1</JUMP_STEP>
- ......
- </STEP>
- <STEP>
- ......
- </STEP>
- <STEP>
- <MESSAGE>1 step skipped.</MESSAGE>
- </STEP>