PML Customisation User Guide

Control Logic : IF Construct : BOOLEAN Expressions and if Statements
New expressions based on the operators such as EQ and GT give a BOOLEAN result that can be used directly in a PML2 if test:
Note:
The BOOLEAN constants TRUE, FALSE, YES and NO and their single-letter abbreviations not enclosed in quotes return BOOLEAN results and so can be used directly in expressions. For example:
The following do not return BOOLEAN values and are therefore invalid:
For upward compatibility with PML1, STRING variables set to ‘TRUE’, ‘FALSE’, ‘YES’ or ‘NO’ or their single-letter abbreviations can be used in an if-test as long as they are evaluated with a preceding $. For example:

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