PSMCH(3g) — Subroutines
Name
PSMCH − Returns the choice number from the choice-class logical input device specified.
Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function
Syntax
PSMCH (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 POK Measure contains a choice.
PNCHOI Measure does not contain a choice.
---------------------------------------------------------------------------
Description
PSMCH takes the current measure of 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
PQCHS
PRQCH
PSCHM