NET/MASTER Network Control Language (NCL) Reference Summary
Core Statements
16 106161 Tandem Computers Incorporated
END The END core statement ends a DO group, or a FUNCTION, PROCEDURE, or
SELECT statement.
END [
label
]
EXIT The EXIT core statement ends the current procedure and returns control to the caller.
EXIT [
expression
]
FLUSH The FLUSH core statement immediately terminates an NCL process.
FLUSH
FUNCTION The FUNCTION core statement declares a user-written function.
label
: FUNCTION [ { SHARE | NOSHARE } {
share-list
| NO } ]
statement
…
END [
label
]
share-list
=
element
[,
element
] …
element
:
&*
&
simple-variable
[ * ]
&
stem-variable
. [ * ]
CALLER
GOSUB The GOSUB core statement registers the current position in the procedure (the
statement after the GOSUB), then branches to the statement at a specified label.
GOSUB
label
[ LIMIT
limit-expr
]
[ MATCH { EQ | GE | GT | LE | LT | NE } ]
GOTO The GOTO core statement unconditionally transfers control to a label within a
procedure or function.
GOTO
label
[ LIMIT
limit-expr
]
[ MATCH { EQ | GE | GT | LE | LT | NE } ]