Keywords, If statement, As if – Delta RMC151 User Manual
Page 352: Then, else
RMC70/150 and RMCTools User Manual
Equality
Inequality
=
<>
Boolean AND
AND
Boolean Exclusive
OR
XOR
Boolean OR
OR
Lowest
Assignment
:=
5.13.8. Keywords
This topic describes the keywords available in the RMC expressions. Keywords are reserved for
the uses indicated in the table below and cannot be used as names for user-defined items,
such as variable names, input names, etc.
In the Expression Editor, these can be accessed on the Keywords tab.
Keyword Description
IF
Used in an If Statement.
THEN
Used in an If Statement.
ELSE
Used in an If Statement.
ELSEIF
Used in an If Statement.
ENDIF
Used in an If Statement.
TRUE
boolean true (1 in binary)
FALSE
boolean false (0 in binary)
5.13.9. IF Statement
The IF statement can be used in the Expression (113) command. It is used for conditional
branching only within the Expression command.
Format
IF
condition
THEN
statements
ELSEIF
condition
THEN
statements
ELSE
statements
END_IF
Notes
Each statement must end with a semicolon (;).
An ELSE cannot precede an ELSEIF.
The ELSE and ELSEIF are optional.
332
Delta Computer Systems, Inc.