DATA Step Graphics Interface Dictionary |
Finds the color indexes that have colors associated with them
Operating States: |
SGOP
|
Return Codes: |
0, 4, 86, 87
|
CALL GASK('COLINDEX', n,
index-array, return-code-variable);
The GASK('COLINDEX', . . . ) routine returns
the color indexes that currently have colors assigned to them.
n |
numeric constant or numeric variable
name; tells how many color indexes you want returned. If n
is expressed as a variable, the variable must be initialized. The variable
returns the number of colors currently assigned. If n
is expressed as a constant, this value is not returned. |
index-array |
list of numeric variables into which
the used color index numbers are returned. The list of variable names can
be members of an array or OF argument lists (where the arguments are variables).
If you are using an array, index-array must have
been declared as an array. The dimension of the array is determined by the
number of color indexes you want returned. Refer to the discussion of ARRAY
in
SAS Language Reference: Dictionary for more information about OF argument
lists. |
return-code-variable |
numeric variable name; returns the
return code of the routine call. |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.