PQDST(3g) — Subroutines
Name
PQDST − Returns string device information.
Operating States: PHOP, ∗, ∗, ∗
PHIGS standard function
Old Syntax
PQDST (WTYPE, DEVNO, N, MLDR, ERRIND, MBUFF, OL, PET, EAREA, 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
EAREA(4) Array of Write Default echo area, in device
reals coordinates (XMIN, XMAX, YMIN,
YMAX)
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
PQDST (WTYPE, DEVNO, N, MLDR, ERRIND, MBUFF, 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
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
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
PQDST 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 area 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
PINST
PQDST3