CALL PGTCH (STAT, CHNR)
POK: 1 (OK) PNCHOI: 2 (NOCHOICE)
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) ......
set choice mode, initialize choice , request choice , sample choice , await event, flush device events, inquire choice device state, inquire default choice device state