SAMPLE STRING
CALL SEQUENCE
PSMST (WKID, STDNR, LOSTR, STR)
INPUT PARAMETERS
INTEGER WKID
INTEGER STDNR
OUTPUT PARAMETERS
INTEGER LOSTR
CHARACTER*(*) STR
ARGUMENTS
- WKID
- Workstation identifier.
- STDNR
- STRING input device identifier.
- LOSTR
- Length of string.
- STR
- Current character string.
PHIGS STATE
(PHOP, WSOP, *, *).
EFFECT
Reads the current character string on the input device, STDNR.
Example:
C Sample string on workstation number 1 using device number 1
INTEGER WKID,STDNR,LOSTR
CHARACTER*80 STR
WKID = 1
STDNR = 1
call PSMST(WKID,STDNR,LOSTR,STR)
......
ERRORS
- 3
Ignoring function, function requires state (PHOP, WSOP,*,*)
- 54
- Ignoring function, the specified workstation is not open
- 61
- Ignoring function, specified workstation is neither of category INPUT nor
of category OUTIN
- 250
- Ignoring function, the specified device is not available on the specified
workstation
- 252
- Ignoring function, the function requires the input device to be in SAMPLE
mode
SEE ALSO
set string mode, initialize string 3, request string , get string , await
event, inquire string device state 3, inquire default string device state 3
