NET/MASTER Network Control Language (NCL) Reference Manual

&SYS.PANEL.ERRORC
System Variables
5–72 106126 Tandem Computers Incorporated
&SYS.PANEL.ERRORC The &SYS.PANEL.ERRORC system variable contains the value specified with the
command SYSPARMS SPERRORC. This is the value for the operand COLOR in
specifying the display characteristics of error fields and error messages on a panel.
The default value is RED.
&SYS.PANEL.ERRORC
Considerations
A new value can be assigned to this variable only by using the command
SYSPARMS SPERRORC. See the example that follows.
An attempt to change this variable to an invalid color produces an error. Valid
values for color are BLUE, GREEN, PINK, RED, TURQUOISE, WHITE, and
YELLOW.
See the panel statement #ERR in Section 6, “Panel Control Statements.”
See also the other system variables that relate to panels. They all begin with the
letters &SYS.PANEL.
Example
The following example displays the &SYS.PANEL.ERRORC system variable and
shows how to change it. Initially it is RED; after the change it becomes BLUE:
PROC:PROCEDURE
SAY "&SYS.PANEL.ERRORC = " &SYS.PANEL.ERRORC
INTCMD "SYSPARMS SPERRORC=BLUE"
INTREAD
INTCONT
SAY "&SYS.PANEL.ERRORC NOW = " &SYS.PANEL.ERRORC
END PROC