Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pqdst3(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PQDST3(3g)  —  Subroutines

Name

PQDST3 − Returns string device information. 

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

Old Syntax

PQDST3 (WTYPE, DEVNO, N, MLDR, ERRIND, MBUFF, OL, PET, EVOL, BUFLEN,
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
MBUFF             Integer        Write     Maximum string buffer size
OL                Integer        Write     Number of available PETs
PET               Integer        Write     Nth element of the list of
                                           available PETs
EVOL(6)           Array of       Write     Default echo volume, in device
                  reals                    coordinates (XMIN, XMAX, YMIN,
                                           YMAX, ZMIN, ZMAX)
BUFLEN            Integer        Write     Buffer length of the string
LDR               Integer        Write     Number of array elements used in
                                           a data record
DATREC(MLDR)      Character ∗80  Write     Data record
---------------------------------------------------------------------------

New Syntax

PQDST3 (WTYPE, DEVNO, N, MLDR, ERRIND, MBUFF, OL, PET, EVOL,
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
MBUFF             Integer        Write     Maximum string buffer size
OL                Integer        Write     Number of available PETs
PET               Integer        Write     Nth element of the list of
                                           available PETs
EVOL(6)           Array of       Write     Default echo volume, in device
                  reals                    coordinates (XMIN, XMAX, YMIN,
                                           YMAX, ZMIN, ZMAX)
LDR               Integer        Write     Number of array elements used in
                                           a data record
DATREC(MLDR)      Character ∗80  Write     Data record
---------------------------------------------------------------------------

Description

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

•Maximum string input buffer size

•List of available prompt and echo types

•Default echo volume in device coordinates

•Default string 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

PINST3
PQDST

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