PML Customisation
User Guide
Control Logic
:
IF Construct
: Nesting if-constructs
Nesting if-constructs
Any
if
-construct may contain further
if ... elseif
…
endif
constructs:
if (!Number LT 0) then
!Negative = TRUE
if (!Number EQ -1 ) then
!OnlyJustNegative = TRUE
endif
endif
It is particularly helpful with nested if constructs to indent the code so that the logic is clear.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.