NET/MASTER Network Control Language (NCL) Reference Manual

&SYS.TERM.EXTCO
System Variables
106126 Tandem Computers Incorporated 5–97
&SYS.TERM.EXTCO The &SYS.TERM.EXTCO system variable indicates if the terminal from which the NCL
procedure is executing supports extended color. &SYS.TERM.EXTCO is initially set
when you log on to a terminal.
If the terminal supports extended color, &SYS.TERM.EXTCO is set to 1; otherwise, it is
set to 0 (zero).
Testing of device attributes from within an NCL procedure displaying full-screen
panels is not normally required. Panel Services automatically suppresses the
generation of color if it is not applicable to the device to which the panel is being sent.
Testing this variable is necessary, however, if an NCL procedure is to display different
panels depending on the terminal characteristics.
&SYS.TERM.EXTCO
Considerations
For a description of the NonStop NET/MASTER MS TERMINAL command, refer
to the NonStop NET/MASTER MS Command Reference Manual.
See also &SYS.TERM.EXTHI, which indicates whether the terminal from which the
NCL procedure is executing supports extended highlighting.
Example
The following example shows how you might use this system variable:
IF &SYS.TERM.EXTCO = 1 THEN
SAY "WE HAVE EXTENDED COLOR"