Previous Next Up Title Contents General Index Functions Index Bookshelf

SET CHOICE MODE

PSCHM


CALL SEQUENCE

PSCHM (WKID, CHDNR, MODE, ESW)

INPUT PARAMETERS

INTEGER	WKID
INTEGER	CHDNR
INTEGER	MODE
INTEGER	ESW

ARGUMENTS

WKID
Workstation identifier.
CHDNR
CHOICE input device identifier.
MODE
Input operating mode.
ESW
Input echo switch.

PHIGS STATE

(PHOP, WSOP, *, *).

EFFECT

Set input mode for CHOICE device number CHDNR of workstation WKID, with activation or deactivation of echo.

Example:

C On workstation number 1 set choice mode for device number 2 to be EVENT with regular echoing.
	call PSCHM(1,2,PEVENT,PECHO)

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

SEE ALSO

initialize choice 3, request choice 3, sample choice 3, get choice 3, await event, inquire choice device state 3, inquire default choice device state 3


Previous Next Up Title Contents General Index Functions Index Bookshelf