NET/MASTER Network Control Language (NCL) Reference Manual

BOOLEXPR
Built-in Functions
4–18 106126 Tandem Computers Incorporated
NUMERIC
specifies a numeric comparison. This is required only when
comparing a variable to another variable. If either variable is
nonnumeric, the result after evaluation is BAD. The NUMERIC
modifier is invalid when used with the GENERIC modifier.
FOLD
causes lowercase alphabetic characters to be converted to uppercase
alphabetic characters. This modifier overrides the NOFOLD
parameter for individual tests in the expression.
NOFOLD
causes alphabetic characters to retain their case. This modifier
overrides the FOLD parameter for individual tests in the expression.
type_name
[ [,
type_name
] … ]
specifies the data type name(s) against which to perform a type check
on the left operand(s).
If
type_name
is a variable, the variable must contain a single data
type name or a list of data type names separated by blanks or commas
(,). If it is null, it is treated as if it contained types that the left
variable(s) passed. If it contains invalid data, the result after
evaluation is BAD.
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.
subchar
specifies the character that designates a variable (the variable designator). This
allows you to alter the variable designator to a value other than the default value
of the ampersand (&). By altering the variable designator you prevent NCL from
substituting variables with their values before parsing the Boolean expression,
which would lead to syntax errors.
subchar
must be one of the following characters and must be contained within
quotes ("):
& % ! ? ~ `