Logical Operators
The following logical operators can be used when defining conditions, for instance at decision points or in boolean expressions:
- like
- <
- <=
- >
- >=
- =
- <>
- !=
<> and != can be used equivalently.
In order to negate a boolean value or expression, use the boolean not() function, for instance not(a and b). Refer also to not() Operation of Boolean Expressions.
Examples
set aBoolean = 2 < 1;
set s = condition (i1 != i2, "abc", "xyz");