CBACK

Finds the background color
Operating state: All

Syntax

CALL GASK('CBACK', cback, return-code-variable);

Required Arguments

cback
character variable name; returns the background color name.
return-code-variable
numeric variable name; returns the return code of the routine call, which is 0. See Return Codes for DSGI Routines and Functions.

Details

The GASK('CBACK', . . . ) routine returns the current background color. GASK('CBACK', . . . ) searches for the current background color in the following order:
  1. the background color selected with the GSET('CBACK', . . . ) function
  2. the CBACK= graphics option
  3. the default background color for the device found in the device entry