Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pgtch(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PGTCH(3g)  —  Subroutines

Name

PGTCH − Returns information about a user choice. 

Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function
 

Syntax

PGTCH (STAT, CHNR)

Argument     Data Type      Access    Description
---------------------------------------------------------------------------
STAT         Integer        Write     Status
CHNR         Integer        Write     Choice number
---------------------------------------------------------------------------

Constants

Defined Argument     Constant     Description
---------------------------------------------------------------------------
STAT                 POK          User made a valid choice
                     PNCHOI       User did not make a valid choice
---------------------------------------------------------------------------

Description

PGTCH obtains information contained in the current event report entry.  If the report contains input generated by anything other than a choice-class input device, a call to this function generates an error.  (See the PWAIT function for more information about input classes and the current event report.) 

See Also

PWAIT
PFLUSH
PINCH
PINCH3
PRQCH
PSMCH
PSCHM

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026