*KEYMODE (GETMODE)


 

*KEYMODE={value}

 

This list control retrieves the input redirection for KEYIN operations. Once a KEYMODE state has been established, the state remains invoked until the runtime terminates or until another state is invoked.

 

Value is numeric variable that returns one of the following modes:

 

Value

Meaning ...

0

Data input without input redirection.

1

Input data is retrieved using the current OS STDIN handle.

2

Input data is retrieved from a user specified file that has been attached/opened using the SETMODE *KEYIN="filename" instruction.

 

See Also: List Controls (GETMODE), GETMODE



PL/B Language Reference *ISIEXT (GETMODE) *KEYSTATE (GETMODE)