GDDM-GKS V1R1 Programming Guide and Reference
|
Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF |
BOOK
GQECI GDDM-GKS V1R1 Programming Guide and Reference SC33-0334-00 |
|||||||||||||
Purpose
Function: To inquire list element of color indexes. Inquiry function. Returns a color index from the list of color indexes in the workstation state list for a workstation. Parameters wkid (specified by user) (fullword integer)
n (specified by user) (fullword integer)
errind (returned by GDDM) (fullword integer)
ol (returned by GDDM) (fullword integer)
colind (returned by GDDM) (fullword integer)
Operating states WSOP, WSAC, SGOP Related functions Set color representation (GSCR) Description The list of valid color indexes for the workstation is contained in the workstation state list. GEQCI returns one element of the list. You can make a list of all color indexes in use on the workstation. Make an initial call to GEQCI with n = 0. The output includes the total number of elements in the color list (ol). Now make repeated calls until you have all the elements. Here is an example:
n=1
CALL GEQCI (wkid, 0, errind, ol, colind)
DO 55 n = 1, ol
CALL GEQCI (wkid, n, errind, ol, colind)
WRITE ( *, 50) colind
50 FORMAT (' colind', I6)
55 CONTINUE
Principal errors
|
Copyright IBM Corporation 1990, 2012 |