NET/MASTER Network Control Language (NCL) Reference Manual

ASSIGN
Verbs
3–16 106126 Tandem Computers Incorporated
Format 3 This format allows you to set or reset the ERROR, MODFLD, or OUTVAR attributes
for one or more variables. The PANEL verb is an NCL verb that can set, and use
ERROR, MODFLD, or OUTVAR attributes for a variable. See Section 6, “Panel
Control Statements,” and a description of the PANEL verb, later in this section, for
more information on panels.
ASSIGN OPT={ SETERR | RESETERR | SETMOD | RESETMOD |
SETOUT | RESETOUT }
{ ARGS [ RANGE=(
start
,
end
) ] |
VARS={
output-vars-list
|
variable
* }
[ RANGE=(
start
,
end
) ] }
OPT
specifies that you want to change the ERROR and MODFLD attributes of the
existing target variables. This format of the ASSIGN verb is important because it
provides a method of changing the attributes of variables other than through the
use of panel input data.
SETERR
specifies that the target variables are to be given the ERROR attribute if they
are displayed on a panel. No source variables are associated with this
operation. This operand is not valid for system variables, mapped data object
(MDO) variables, or global variables.
RESETERR
specifies that the target variables are to have the ERROR attribute reset. This
operand is not applicable for system variables, MDO variables, or global
variables.
SETMOD
specifies that the target variables are to be given the MODFLD attribute. No
source variables are associated with this operation. This operand is not
applicable for system variables, MDO variables, or global variables.
RESETMOD
specifies that the MODFLD attribute is to be reset for the target variables.
Variables do not acquire the MODFLD attribute until they are modified on a
panel, or by using the SETMOD operand. No source variables are associated
with this operation. This operand is not applicable for system variables, MDO
variables, or global variables.