NET/MASTER Network Control Language (NCL) Reference Manual
#ALIAS
Panel Control Statements
106126 Tandem Computers Incorporated 6–5
#ALIAS The #ALIAS panel control statement specifies alternative names for fields in a panel
description file. The #ALIAS statement allows you to use short names in a panel
description file and longer, more meaningful names in an NCL procedure.
#ALIAS
name
{ VARS=
variable*
[ RANGE=(
start,end
) ] |
VARS=
input-vars-list
}
name
specifies an alternative name, or alias. Each time
name
appears in the display part
of a panel, it is logically replaced by the next variable in the VARS list, described
next.
The name may be from one through eight characters in length. The first character
must be an alphabetic or national character. The remaining characters, if any,
must be alphanumeric or national characters.
VARS
variable*
specifies a list of variables. See “Frequently Occurring Operands,” at the
beginning of Section 3, “Verbs,” for more information.
Note This variable name must not be preceded by an ampersand (&).
RANGE=(
start
,
end
)
determines the range of variables specified by the VARS operand. See
“Frequently Occurring Operands,” at the beginning of Section 3, “Verbs,” for
more information.
input-vars-list
specifies one or more variables. Multiple variables must be enclosed in
parentheses and separated by commas.
Considerations
#ALIAS replaces only input or outvar field names. For more information on
outvar field names, see the TYPE operand in the #FLD panel control statement.
The VARS list is used successively to supply the names that replace those names
defined in #ALIAS panel control statements. If the VARS list is exhausted, the
corresponding #ALIAS name represents itself.