Previous Page | Next Page

DATA Step Graphics Interface Dictionary

FILCOLOR



Finds the color index of the color to be used to draw fill areas
Operating States: GKOP, SGOP, WSAC, WSOP
Return Codes: 0, 8

Syntax
Description
Argument Definitions
See Also

Syntax

CALL GASK('FILCOLOR', color-index, return-code-variable);


Description

The GASK('FILCOLOR', . . . ) routine returns the current fill color. If a GSET('FILCOLOR', . . . ) function has not been previously submitted, GASK('FILCOLOR', . . . ) returns the default value, 1. The color index returned corresponds to a color specification in the following order:

  1. the color assigned to a color name with the GSET('COLREP', . . . ) function

  2. the nth color in the color list of the COLORS= graphics option

  3. the nth color in the device's default color list found in the device entry.


Argument Definitions

color-index

numeric variable name; returns the color index of the fill color currently selected.

return-code-variable

numeric variable name; returns the return code of the routine call.


See Also

COLORS= graphics option (see COLORS)

COLREP

COLREP

FILCOLOR

Previous Page | Next Page | Top of Page