Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pqsts3(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PQSTS3(3g)  —  Subroutines

Name

PQSTS3 − Returns information about the string device state. 

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

Syntax

PQSTS3 (WKID, STDNR, MLDR, ERRIND, MODE, ESW, LOSTR, ISTR, PET, EVOL,
LDR, DATREC)

Argument          Data Type      Access    Description
---------------------------------------------------------------------------
WKID              Integer        Read      Workstation identifier
STDNR             Integer        Read      String device number
MLDR              Integer        Read      Dimension of the data record
                                           array
ERRIND            Integer        Write     Error indicator
MODE              Integer        Write     Operating mode
ESW               Integer        Write     Echo switch
LOSTR             Integer        Write     Number of characters returned
ISTR              Character ∗80  Write     Initial string
PET               Integer        Write     Prompt and echo type
EVOL(6)           Array of       Write     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
---------------------------------------------------------------------------

Constants

Defined Argument     Constant     Description
---------------------------------------------------------------------------
MODE                 PREQU        Request mode
                     PSAMPL       Sample mode
                     PEVENT       Event mode
ESW                  PNECHO       Echo disabled
                     PECHO        Echo enabled
---------------------------------------------------------------------------

Description

PQSTS3 queries the workstation state list and returns values for the following:

•Operating mode value

•Echo switch value

•Initial string

•Prompt and echo type

•Echo volume in device coordinates

•String data record

See Chapter 9 for information on building data records for initializing input devices. 

See Also

PINST3
PQSTS
PSSTM

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