GETGCOLOR

Purpose:

Returns the global DADiSP color as listed in the file dspcolor.

Syntax:

GETGCOLOR(param)

param

-

An integer. Corresponds to the color-related parameters in the file dspcolor.

Returns:

An integer.

Example:

getgcolor(17)

 

returns the number corresponding to the color of the 17th parameter (Window color) in the file dspcolor.

 

strcolor(getgcolor(17))

 

returns the color as a string.

Remarks:

See the dspcolor file for details on the supported global colors. For example,

 

view dspcolor

 

See DEFCOLOR to dynamically define a new color.

See Also:

DEFCOLOR

dspcolor file

SETGCOLOR

STRCOLOR