INQUIRE LIST OF LIGHT SOURCE INDICES
-
CALL SEQUENCE
CALL PQELSI (WKID, N, ERRIND, OL, LSI)
INPUT PARAMETERS
- INTEGER WKID
- Workstation identifier
- INTEGER N
- LIst element requested
OUTPUT PARAMETERS
- INTEGER ERRIND
- Error indicator
- INTEGER OL
- Number of light source table entries
- INTEGER LSI
- Nth element of list of defined light source indices
PHIGS STATE
(PHOP, WSOP,*,*)
EFFECT
Returns the number of elements as well as the Nth element in the list of light
source 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 light source representation.