INITIALIZE STRING
CALL SEQUENCE
void pinit_string (ws_id, string_dev, init_string, pet, echo_area, string_data_rec)
INPUT PARAMETERS
Pint ws_id,
Pint string_dev,
const char *init_string,
Pint pet,
const Plimit *echo_area,
const Pstring_data *string_data_rec
ARGUMENTS
- ws_id,
- Workstation identifier
- string_dev,
- String device number
- init_string,
Initial string
- pet,
Prompt and echo type
- echo_area,
Echo area
- string_data_rec
Data record
TYPES
typedef struct {
Pfloat x_min; /* minimum x */
Pfloat x_max; /* maximum x */
Pfloat y_min; /* minimum y */
Pfloat y_max; /* maximum y */
} Plimit;
typedef struct {
Pint in_buf_size; /* input buffer size */
Pint init_pos; /* initial editing position */
union Pstring_pets {
struct Pstring_pet_r1 {
int impl_dep;
} pet_r1;
int impl_dep;
} pets;
} Pstring_data;
PHIGS STATE
(PHOP, WSOP, *, *)
EFFECT
This function restricts the 3D initialize string function to 2D.
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
- 251
- Ignoring function, the function requires the input device to be in REQUEST
mode
- 254
- Ignoring function, invalid echo area volume: XMIN>>=XMAX,
YMIN>>=YMAX or ZMIN>>ZMAX
- 255
- Ignoring function, one of the echo area volume boundary points is outside
the range of the device
- 253
- Ignoring function, the specified prompt echo type is not available on the
specified workstation
- 260
- Ignoring function, one of the fields within the input device data record is
in error
- 261
- Ignoring function, initial value is invalid
- 263
- Ignoring function, length of the initial string is greater than the buffer
size
SEE ALSO
initialize string 3, set string mode, request string, sample string, get
string, inquire string device state, inquire default string device state,
inquire number of available logical input devices
