Previous Page | Next Page

DATA Step Graphics Interface Dictionary

LINCOLOR



Finds the current setting of the color to be used to draw lines
Operating States: GKOP, SGOP, WSAC, WSOP
Return Codes: 0, 8

Syntax
Description
Argument Definitions
See Also

Syntax

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


Description

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

  1. the color specified in a 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.


Argument Definitions

color-index

numeric variable name; returns the color index of the current line color.

return-code-variable

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


See Also

COLORS= graphics option (see COLORS)

COLREP

COLREP

LINCOLOR

Previous Page | Next Page | Top of Page