Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pqdch(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PQDCH(3g)  —  Subroutines

Name

PQDCH − Returns choice device information. 

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

Syntax

PQDCH (WTYPE, DEVNO, N, MLDR, ERRIND, MALT, OL, PET, EAREA, LDR,
DATREC)

Argument          Data Type      Access    Description
---------------------------------------------------------------------------
WTYPE             Integer        Read      Workstation type
DEVNO             Integer        Read      Logical input device number
N                 Integer        Read      Sequence number of the list
                                           element requested
MLDR              Integer        Read      Dimension of the data record
                                           array
ERRIND            Integer        Write     Error indicator
MALT              Integer        Write     Maximum number of choice
                                           alternatives
OL                Integer        Write     Number of available PETs
PET               Integer        Write     Nth element of the list of
                                           available PETs
EAREA(4)          Array of       Write     Default echo area, in device
                  reals                    coordinates (XMIN, XMAX, YMIN,
                                           YMAX)
LDR               Integer        Write     Number of array elements used in
                                           a data record
DATREC(MLDR)      Character ∗80  Write     Data record
---------------------------------------------------------------------------

Description

PQDCH queries the workstation description table and returns values for the following:

•Maximum number of choice alternatives

•List of available prompt and echo types

•Default echo area in device coordinates

•Default choice data record

See Chapter 9 for information on building data records for initializing input devices.  DATREC corresponds to the data record for PET 1. 

See Also

PINCH
PQDCH3

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