Previous Next Up Title Contents Index Functions Index Top Library

INQUIRE LIST OF COLOUR INDICES

PQECI


CALL SEQUENCE

CALL PQECI (WKID, N, ERRIND, OL, COLI)

INPUT PARAMETERS

INTEGER WKID
Workstation identifier.
INTEGER N
Requested element in color representation list.

OUTPUT PARAMETERS

INTEGER ERRIND
Error indicator
INTEGER OL
Number of defined color representations.
INTEGER COLI
Nth color index in the defined representation list.

PHIGS STATE

(PHOP, WSOP, *, *).

EFFECT

Returns the number of elements as well as the Nth element in the list of colour indices defined in workstation WKID's workstation state list. If the inquired information is available, the error indicator is returned as 0 and values are returned in the output parameters.

If the inquired information is not available, the values returned in the output parameters are implementation dependent and the error indicator is set to one of the following error numbers to indicate the reason for non-availability:

ERRORS

3
Ignoring function, function requires state (PHOP, WSOP,*,*)
54
Ignoring function, the specified workstation is not open
59
Ignoring function, the specified workstation does not have output capability (i.e. the workstation category is neither OUTPUT, OUTIN, nor MO)

SEE ALSO

set colour representation.


Previous Next Up Title Contents Index Functions Index Top Library