NET/MASTER Network Control Language (NCL) Reference Manual

#FLD
Panel Control Statements
6–20 106126 Tandem Computers Incorporated
TYPE
specifies whether the field is to be processed as an output field (OUTPUT), input
field (INPUT), or pseudo-input field (NULL). NCL ignores any data input into a
NULL field type. However, if a field specified as NULL is described as containing
a text string, this string is displayed.
INPUT
creates an unprotected field that allows keyboard entry. Such fields can
contain a single, simple, variable name (minus the ampersand) only. This
single variable must immediately follow the field character. On return from
the PANEL verb, any data entered into fields described as INPUT replaces the
variables in the invoking NCL procedure. The &SYS.PANEL.MODFLD
system variable contains a list of the names of any variables changed by the
user, as a result of modifying an input field in a panel. Such variables acquire
an attribute called the MODFLD attribute. Specification of multiple variables,
or of a mixture of variables and fixed data in an input field, results in an error.
When NCL initially displays the panel, the cursor is placed in the first INPUT
field of the panel, unless otherwise specified by the #OPT statement.
NULL
creates an unprotected field that allows keyboard entry. No variables are
updated if specified in a NULL field. Any data entered by the terminal
operator in a TYPE=NULL field is displayed, but otherwise ignored. Display
data in this field can be in any format.
OUTPUT
creates a protected field, which does not allow keyboard entry. This field can
contain a mixture of fixed data and variables. Each variable must begin with
an ampersand (&). Data content replaces variables according to the values of
the variables at the time the PANEL verb is issued. Global variables can be
referred to in an output field. Alignment and padding are performed
according to the rules defined for the field.
OUTVAR
creates a protected field with an implied ampersand (&) after the field
character. The variable specification makes it possible to switch field types
between input and output, using a single panel field. For example, you can
specify TYPE=&
inout
for a field name of RKEY, where the contents of
&
inout
determine whether RKEY is an input or output field. See the
example at the end of this section.