GDDM-GKS V1R1 Programming Guide and Reference
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK


GSPLCI

GDDM-GKS V1R1 Programming Guide and Reference
SC33-0334-00



Purpose



 GSPLCI  (coli)
   
 APL code  1320
 GKS RCP code  X'38001500' (939529472)
   


Function: To set polyline color index.

Attribute function. Sets the current polyline color index for polyline output primitives.

Parameters


coli (specified by user) (fullword integer)
The polyline color index.


Operating states


GKOP, WSOP, WSAC, SGOP

Related functions


Polyline (GPL), Set aspect source flags (GSASF), Inquire polyline color index (GQPLCI), Set color representation (GSCR)

Description


This function sets the current polyline color index in the GKS state list to the value given by coli. This value is used for the display of all subsequent polyline primitives created when the polyline color index aspect source flag (ASF) is individual. (If the ASF is bundled, the value has no effect.)

You can define the color indicated by a particular color index at a workstation by calling Set color representation (GSCR).

If you choose a color index that is not available at a workstation, color index 1 is used on that workstation.

Principal errors


8
GKS not in proper state: GKS shall be in one of the states GKOP, WSOP, WSAC, or SGOP
92
Color index is less than zero

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012