[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface : Subroutine Reference

GPICS - Set Input Character Set

GPICS (wsid, class, device, csid)

Purpose

Use GPICS to set the character set identifier for the specified input device on the workstation. The identifier specifies the character set used to interpret character data received from or sent to the logical input device.

This subroutine is valid only when the specified device is in Request mode.

In addition, the input character set affects the display of the initial string. For example, this subroutine can be used to specify the language used for string device echo.

Parameters

wsid -- specified by user, fullword integer

Workstation identifier.

class -- specified by user, fullword integer

Device class (1=LOCATOR, 2=STROKE, 3=VALUATOR, 4=CHOICE, 5=PICK, 6=STRING )

device -- specified by user, fullword integer

Device number (>=1)

csid -- specified by user, fullword integer

Character set identifier.

See Appendix A. "Character Set and Font Identifiers" for more information.

Note:

The supported character set identifier is workstation dependent. See The graPHIGS Programming Interface: Technical Reference for details.

Error Codes

25
SPECIFIED WORKSTATION DOES NOT EXIST
38
WORKSTATION HAS ONLY OUTPUT CAPABILITIES
140
DEVICE NUMBER < ONE OR DEVICE NOT AVAILABLE
141
INPUT DEVICE NOT IN CORRECT MODE
328
INPUT CLASS VALUE IS INVALID
542
CHARACTER SET IDENTIFIER IS INVALID
550
CHARACTER SET ID IS NOT SUPPORTED ON WORKSTATION

Related Subroutines

GPQISF
Inquire Input Character Set Facilities

RCP code

201337345 (X'0C002A01')


[ Previous | Next | Contents | Glossary | Home | Search ]