Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pqdsk3(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PQDSK3(3g)  —  Subroutines

Name

PQDSK3 − Returns stroke device information. 

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

Old Syntax

PQDSK3 (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

PQDSK3 (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

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

•Maximum stroke buffer size

•List of available prompt and echo types

•Default echo volume in device coordinates

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

PINSK3
PQDSK

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