NET/MASTER Network Control Language (NCL) Reference Manual
BOOLEXPR
Built-in Functions
106126 Tandem Computers Incorporated 4–15
the FOLD and NOFOLD modifiers, or the FOLD and NOFOLD
parameters if no modifier is specified. Specifying the NUMERIC modifier
forces a numeric comparison.
The following table lists simple relational operators:
Operator Operation
= Simple equal to
\= Simple not equal to
< Simple less than
> Simple greater than
<= Simple less than or equal to
>= Simple greater than or equal to
Strict relational operators perform a character comparison. No blank
stripping or padding is performed. Numeric constants are invalid with
these operands. If one value is physically shorter than another value, but
equal for the shortest length, then the shorter value is regarded as logically
less than the longer value.
Strict operators, which perform a character comparison, always honor the
FOLD and NOFOLD modifiers, or the FOLD and NOFOLD parameters if
no modifier is specified.
The following table lists strict relational operators:
Operator Operation
== Strict equal to
\== Strict not equal to
<< Strict less than
>> Strict greater than
<<= Strict less than or equal to
>>= Strict greater than or equal to
Section 10, “Expressions and Operators,” discusses simple and strict
relational operators in more detail.
CONTAINS
specifies that the left operands are to be searched for the values on the
right. For variable values on the left, one leading and one trailing
blank are added to their value before the search begins.
The CONTAINS operator honors the FOLD and NOFOLD modifiers,
or the FOLD and NOFOLD parameters if no modifier is specified.
LIKE
specifies that the characters in the left operand are to be compared
with the characters in the right operand. You can specify the percent