Previous Next Up Title Contents Index Functions Index Top Library

GET CHOICE

PGTCH


CALL SEQUENCE

PGTCH (STAT, CHNR)

OUTPUT PARAMETERS

INTEGER	STAT
INTEGER	CHNR

ARGUMENTS

STAT
Event state.
CHNR
Selected choice.

PHIGS STATE

(PHOP, WSOP, *, *).

EFFECT

Reads a CHOICE event. The CHOICE logical input value is read in the current event report in the PHIGS state list. It is composed of the selected choice and of the state after selection when the CHOICE event is placed in the queue.

Example:

C Event choice 
	INTEGER ISTAT,CHNR
	......
	call PGTCH(ISTAT,CHNR)
	......

ERRORS

3
Ignoring function, function requires state (PHOP, WSOP,*,*)
259
Ignoring function, the input device class of the current input report does not match the class

SEE ALSO

set choice mode, initialize choice , request choice , sample choice , await event, flush device events, inquire choice device state, inquire default choice device state


Previous Next Up Title Contents Index Functions Index Top Library