PML Customisation User Guide

Control Logic : IF Construct
The full form of an if-construct is as follows:
Each BOOLEAN expression, such as (!Word EQ 'Soup'), is examined in turn to see whether it is TRUE or FALSE. As soon as an expression that is TRUE is encountered, the following block of commands is executed.
The else command is optional. If it is included, you can be sure that exactly one command block within the if-construct will be executed.
The elseif commands are also optional. Once one of the elseif expressions has been found to be TRUE, any remaining elseif commands are ignored.
ignore !UnsetValue if the value is not required to determine the outcome of the expression. The same is true for PML Functions which have returned an error.

1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
AVEVA Logo