NET/MASTER Network Control Language (NCL) Reference Manual
#FLD
Panel Control Statements
6–12 106126 Tandem Computers Incorporated
#FLD The #FLD panel control statement specifies or modifies the attributes of a field
character. The display area of a panel consists of two types of fields—protected and
unprotected fields. You cannot change (enter data into) protected fields. An
unprotected field is a field into which you can enter data. The #FLD panel statement
allows you to specify these two types of fields and to define the differing properties of
various fields of the same type.
A #FLD statement can contain variables. For example, by specifying TYPE=
&type
, a
field can be both an input and an output field, depending on the value contained in the
variable
&type
. At the time the panel is displayed, NCL performs any variable
substitution based on the definitions contained in the #FLD statement, allowing any
options to be changed dynamically. Data that you enter replaces the contents of the
variable you specify in an unprotected field.
You can specify as many #FLD statements as required, in any order, provided all
#FLD statements precede the display part of a panel. The first statement in a panel
description file that is not a panel control statement determines the start of the panel
display area.
Multiple #FLD statements can be used for the same field character if space is not
available on a single statement line.
#FLD { c | X'xx' }
[ { BKGCOLOR | BKGCOLOUR }=
color-option
]
[ BLANKS={ ANY | NONE |
TRAIL } ]
[ CAPS={ YES | NO } ]
[ { COLOR | COLOUR }=
color-option
]
[ EDIT=
type
]
[ HLITE={ BLINK | NONE | REVERSE | USCORE } ]
[ INTENS={ LOW |
HIGH | NON } ]
[ JUST={ ASIS | CENTER | LEFT | RIGHT } ]
[ NCLKEYWD={ YES | NO } ]
[ PAD={ char | NULL
} ]
[ PSKIP={ GMENU |
NO | PMENU } ]
[ RANGE=(
min
,
max
) ]
[ REQ={ YES | NO } ]
[ SKIP={ YES | NO } ]
[ SUB={ YES | NO } ]
[ TYPE={ INPUT | NULL |
OUTPUT | OUTVAR } ]
[ VALIGN={ CENTER | LEFT | NO | RIGHT } ]
color-option:
BLUE GREEN RED WHITE
DEFAULT PINK TURQUOISE YELLOW