![]() Chapter Contents |
![]() Previous |
![]() Next |
| COLREP |
| Operating States: | SGOP |
| Return Codes: | 0, 4, 86 |
| Default Values: | 1. colors list of COLORS= graphics option; 2. device's default colors list |
| Syntax | |
| Description | |
| Argument Definitions | |
| See Also |
| Syntax |
return-code-variable=GSET('COLREP', color-index, color);
| Description |
The GSET('COLREP', . . . ) function associates a predefined SAS color name with a color index. Many of the GASK routines and GSET functions use color-index as an argument.
If this function is not used, DSGI searches for a color specification in the following order:
| Argument Definitions |
| color-index | numeric constant or numeric variable name; a number from 1 to 256 that identifies a color. |
| color | character string enclosed in quotation marks or character variable name; a predefined SAS color name. See Predefined SAS Colors for a list of predefined SAS color names. |
| See Also |
| COLORS= graphics option (see COLORS) | |
| GASK('COLINDEX', . . . ) routine | |
| GASK('COLREP', . . . ) routine |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.