NET/MASTER Network Control Language (NCL) Reference Manual
BOOLEXPR
Built-in Functions
4–16 106126 Tandem Computers Incorporated
sign (%) as a wild card in the right operand to match zero or more
characters in the left operand, and the underscore (_) as a wild card in
the right operand to match a single character in the left operand.
The LIKE operator honors the FOLD and NOFOLD modifiers, or the
FOLD and NOFOLD parameters if no modifier is specified.
IS [ NOT ]
performs a type check on the left operands using the criteria specified
by the right operands. Only variables can be specified as left
operands. The
type_name
right operand specifies the data type(s)
against which to perform the type check.
You can perform a type check on all data types supported by the
TYPECHK built-in function. See the TYPECHK built-in function later
in this section for a full description of the supported data types and
their meaning.
By using this operator you can help prevent bad checks on
nonnumeric variables.
ANY
specifies that any combination of operator and right operand that results
in a true result for a left operand, results in a true result for that operand.
Specifying ANY allows you to override the default processing of lists of
operands on the right side of an operator.
ANY is the default for the following operators:
= == CONTAINS LIKE IS
ALL
specifies that any given left operand must pass all combinations of
operator and right operand for a true result for that left operand.
Specifying ALL allows you to override the default processing of lists of
operands on the right side of an operator.
ALL is the default for the following operators:
< <= << <<= IS NOT
\= > >= \== >> >>=
right_operand
specifies the operand(s) on the right side of an operator. You can specify
multiple right operands by separating them with a comma (,).
constant
specifies a constant. You must enclose the constant in quotes if the
constant is nonnumeric or if the constant is numeric but a character
comparison is required.