Comparison operators

Comparison operators allow you to determine the relationship between two values. The following comparison operators are allowed:
This:
Means this:
GT or >
Greater than
LT or <
Less than
NG or ¬>
Not greater than
NL or ¬<
Not less than
EQ or =
Equal
NE or ¬=
Not equal
GE or >=
Greater than or equal
LE or <=
Less than or equal
Alphabetic characters are sorted before digits (A-Z come before 0-9). The following comparison is true for all high-level qualifiers alphanumerically greater than “M”:
IF &HLQ > 'M' THEN . . .

For FILTLIST or mask comparisons, only EQ and NE are valid. See FILTLIST statement for details.