The GASK('TEXCOLOR',
. . . ) routine returns the current text color. If a GSET('TEXCOLOR',
. . . ) function has not been previously submitted, GASK('TEXCOLOR',
. . . ) returns the default value, 1. The color index returned corresponds
to a color specification in the following order:
-
the color specified
in a GSET('COLREP', . . . ) function
-
the
nth color in the color list of the COLORS= graphics
option
-
the
nth color in the device's default color list