PRQCH(3g) — Subroutines
Name
PRQCH − Prompts for input using the choice-class logical input device specified.
Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function
Syntax
PRQCH (WKID, CHDNR, STAT, CHNR)
Argument Data Type Access Description
---------------------------------------------------------------------------
WKID Integer Read Workstation identifier
CHDNR Integer Read Choice device number
STAT Integer Write Status
CHNR Integer Write Choice number
---------------------------------------------------------------------------
Constants
Defined Argument Constant Description
---------------------------------------------------------------------------
STAT PNONE User performed a break action.
POK User made a valid choice.
PNCHOI User triggered the device, but did not
make a selection.
---------------------------------------------------------------------------
Description
PRQCH prompts you for input using the choice-class logical input device specified by the device number and the workstation identifier. If the input status is POK, this function returns your choice number (a positive integer).
See Also
PGTCH
PINCH
PSMCH
PSCHM