NET/MASTER Network Control Language (NCL) Reference Manual
#ERR
Panel Control Statements
6–8 106126 Tandem Computers Incorporated
#ERR The #ERR panel control statement specifies what happens when internal panel
validation finds an error. Internal validation checks panels and redisplays them if it
finds any errors.
The #ERR statement specifies particular display parameters when a panel is being
redisplayed after an error condition. NCL applies any attributes defined in the #ERR
statement to the field in error, then positions the cursor at that field before
redisplaying the panel. This technique draws your attention to the field in error. This
is particularly effective on color terminals, on which you can alter the color of the field
in error while the error persists. The display reverts to its normal appearance after the
user corrects the error.
You can specify as many #ERR statements as required, in any order, provided all
#ERR 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.
#ERR [ ALARM={ YES | NO } ]
[ { BKGCOLOR | BKGCOLOUR }=
color-option
]
[ { COLOR | COLOUR }=
color-option
]
[ HLITE={ BLINK | NONE | REVERSE | USCORE } ]
[ INTENS={ HIGH | LOW } ]
color-option
:
BLUE GREEN RED WHITE
DEFAULT PINK TURQUOISE YELLOW
ALARM
specifies whether to activate or suppress the terminal alarm when the panel is
displayed with an error condition. The ALARM operand of the #OPT control
statement operates independently.
YES
The alarm is activated if there is an error.
NO
The alarm is not activated if there is an error.
{ BKGCOLOR | BKGCOLOUR }=
color-option
specifies the background color of the terminal. DEFAULT places the terminal in
its native background display color, which is usually black.