Comparison Operators
Comparison operators are provided to enable you to build comparison statements in your scripts. The comparison operators are displayed when you open the Comparison operators folder in the Commands list box of the Add Script Field or Update Script Field dialogs, as shown in the following image.
Comparison operators are available only for full scripts. The comparison operators are listed in the following table.
Operator | Function | When selected, provides the… |
---|---|---|
x = y | Equals | equals symbol (=) |
x < y | Less than | less than symbol (<) |
x <= y | Less than or equal to | less than or equal to symbol (<=) |
x > y | Greater than | greater than symbol (>) |
x >= y | Greater than or equal to | greater than or equal to symbol (>=) |
x <> y | Not equal to | not equal to symbol (<>) |
and | Logical and | and operator |
or | Logical or | or operator |
not | Logical not | not operator |