NET/MASTER Network Control Language (NCL) Reference Manual
FUNCTION
Core Statements
106126 Tandem Computers Incorporated 2–21
NO
specifies that no sharing of variables is permitted.
NOSHARE
specifies whether the current variable-sharing status is to be overridden for this
function call and whether variable sharing is not to be enabled. If this operand is
not specified, NCL uses the setting of the [NO]SHRVARS operand of the
CONTROL verb.
share-list
specifies one or more variables that are to be shared, or not shared, with the
function. The CALLER keyword can be part of the list. The terms must be
separated by commas.
element
specifies a variable type or the CALLER keyword.
&*
specifies any variable type that can be shared, in which * can be any
combination of characters that can legitimately form a variable name.
&
simple-variable
[*]
specifies a simple variable, in which * can be any combination of
characters that can legitimately form a variable name.
&
stem-variable
.[*]
specifies a stem variable, in which * can be any combination of
characters that can legitimately form a variable name.
CALLER
specifies that the list of variables currently specified in the calling
environment replaces this keyword.
NO
specifies that no sharing of variables is permitted.
statement
specifies the NCL statement or statements that make up the function.
END [
label
]
specifies the END statement that closes a function definition. The label, if
specified, must have the same
label
name as the function.