IF (a child element of STEP) is much like the if used in programming. Use the if statement to perform certain statements if a logical condition is true.
IF supports the use of its own child elements as values. For a list of supported child elements please refer to the tree menu on the left.
In this example, a mini message is displayed if the VARIABLE _MyVar_ equals 10.
- <STEP>
- ......
- <IF>
- <CONDITION>
- <EQUAL>
- <LEFT>_MyVar_</LEFT>
- <RIGHT>10</RIGHT>
- </EQUAL>
- </CONDITION>
- <THEN>
- <MINI_MESSAGE>Equality holds!</MINI_MESSAGE>
- </THEN>
- </IF>
- ......
- </STEP>