[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference
REQUEST STRING (PHOP,WSOP,*,*)
Purpose
Use
Request String
to have the graPHIGS API execute a request to the
specified string device.
A status of NONE means that a break action
occurred.
Otherwise, the graPHIGS API returns a status of OK
together with a character string which is set according
to the current measure of the string device.
Language Bindings
C
preq_string
(ws_id, string_num,
in_status, string) |
Pint ws_idWorkstation identifier.
Pint string_numString device number
(>=1).
Pin_status *in_statusInput status
(0=PIN_STATUS_NONE,
1=PIN_STATUS_OK).
char *stringRequested string. The application must allocate the memory
for the character string returned.
The Initialize String subroutine
The Initialize String subroutine
or the Initialize String 3 subroutine
specifies the maximum size of the returned
character string.
The Inquire Default String Device Data subroutine
or the Inquire Default String Device Data 3 subroutine
returns the maximum size of a character string supported
by the workstation.
FORTRAN
PRQST
(wkid, stdnr, stat,
lostr, str) |
integer wkidWorkstation identifier.
integer stdnrString device number
(>=1).
integer statInput status
(0=PNONE, 1=POK).
integer lostrNumber of characters returned.
character*(*) strCharacter string.
FORTRAN Subset
PRQST
(wkid, stdnr, stat,
lostr, str) |
integer wkidWorkstation identifier.
integer stdnrString device number
(>=1).
integer statInput status
(0=PNONE, 1=POK).
integer lostrNumber of characters returned.
character*80 strCharacter string.
Errors
- 3
- Function Requires State (PHOP,WSOP,*,*)
- 54
- Specified Workstation Is Not Open
- 61
- Specified Workstation Is Not Of Category Input Or Outin
- 250
- Specified Device Not Available On Workstation
- 251
- Function Requires Input Device To Be In Request Mode
Related Subroutines
Initialize String
Inquire Number Of Available Logical Input Devices
Set String Mode
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]