NET/MASTER Network Control Language (NCL) Reference Manual

GOTO
Core Statements
2–28 106126 Tandem Computers Incorporated
MATCH
specifies the comparison to be performed between the label being searched for and
the statement labels. By default, NCL expects an exact match, both in length and
in value. MATCH has the following qualifiers:
Note In the following comparisons, the collating sequence for sorting ASCII characters is used. In general,
numerals sort before uppercase letters, which sort before lowercase letters.
EQ
specifies that the target label is the first label found that is matched by a subset
of initial letters of the supplied label. This is sometimes referred to as generic
equality. For generic equality, NCL considers labels equal though they differ
in length.
GE
specifies that the target label is the first label found with a value that is greater
than or equal to the supplied label.
GT
specifies that the target label is the first label found with a value that is greater
than the supplied label.
LE
specifies that the target label is the first label found with a value that is less
than or equal to the supplied label.
LT
specifies that the target label is the first label found with a value that is less
than the supplied label.
NE
specifies that the target label is the first label found that is not matched by a
subset of the initial letters of the supplied label. See EQ.
Considerations
The GOTO core statement proceeds as if there are no DO statements active. A
GOTO within a GOSUB routine terminates any DO groups created within the
GOSUB routine, but any DO groups that existed prior to entering the GOSUB
routine remain active.