Previous Topic: &LUCOLS

Next Topic: &LUEXTHI


&LUEXTCO

Indicates if the terminal supports extended color.

&LUEXTCO is a system variable that is used to determine if the terminal from which the NCL procedure is executing supports extended color facilities. If the terminal does support extended color &LUEXTCO is set to YES, if not &LUEXTCO is set to NO.

If the NCL procedure is executing in an environment which is not associated with a terminal (for example, a background environment), &LUEXTCO is set to a question mark (?).

&LUEXTCO applies only to IBM terminals which support full seven-color facilities or Fujitsu seven-color or three-color terminals.

&LUEXTCO is used within an NCL procedure to determine the type of processing possible for a particular terminal.

Example: &LUEXTCO

&IF &LUEXTCO EQ YES &THEN +
  &GOTO .7COLOR

Notes:

Testing of device attributes from within an NCL procedure displaying full-screen panels is not normally required as Panel Services automatically suppresses the generation of color data streams if not applicable to the device to which the panel is being sent. It is necessary if an NCL process is to display different panels depending on the terminal characteristics.

&LUEXTCO is set only if the BIND parameters for the terminal correctly indicate that the terminal supports READ PARTITION QUERY. If set, the system interrogates the terminal at connection time and determines which extended facilities are supported. Alternatively, the TERMINAL command is used to temporarily indicate that the terminal supports color.

More information:

&LUEXTHI