NET/MASTER Network Control Language (NCL) Reference Manual
ASSIGN
Verbs
106126 Tandem Computers Incorporated 3–19
Format 4 This format allows you to obtain the names of variables that have the MODFLD
attribute, and place them in a list or range of variables. The &SYS.PANEL.MODFLD
system variable points to the first variable name in a list that contains those variables
that have had their content changed because of input from a panel, or because of using
the NCL verb CNMVECTR. Such variables acquire the MODFLD attribute.
ASSIGN OPT=MODFLD [ NONULLS ] [ NORESET ]
{ ARGS [ RANGE=(
start
,
end
) ] |
VARS={
output-vars-list
|
variable
* }
[ RANGE=(
start
,
end
) ] }
[ FROM
{ ARGS [ RANGE=(
start
,
end
) ] |
VARS={
input-vars-list
|
variable
* }
[ RANGE=(
start
,
end
) | GENERIC ] } ]
OPT=MODFLD
specifies that you want information on the names of variables that have been
updated or modified by certain NCL verbs, such as the PANEL verb. When a
variable is updated or modified by such verbs, NCL enters it into a list called the
modified field list. Such variables acquire an attribute called the MODFLD
attribute.
Each time you refer to the $SYS.PANEL.MODFLD system variable, the next name
on this list of variables becomes available to you. When you supply only one
target variable, it means you want NCL to return the contents of
&SYS.PANEL.MODFLD; if you use the FROM operand, NCL scans only those
variables that have the MODFLD attribute.
Variables that acquire the MODFLD attribute as a result of a panel operation are
returned in the order in which they appear on the screen.
Enough names are used to exhaust the target list or RANGE; excess target
variables are given no value—they are set to the null string.
See a description of the PANEL verb later in this section. See Section 5, “System
Variables,” for a description of the &SYS.PANEL.MODFLD system variable, and
Section 6, “Panel Control Statements,” for a description of the MODFLD attribute
in the INPUT operand of the #FLD statement.
NONULLS
specifies that null variables are not used to satisfy the MODFLD operand.
NORESET
specifies that the modified attribute of the variables will not be reset; the
default is to reset.