Previous Topic Next topic Print topic


CBL_READ_KBD_CHAR

Waits until a character is typed and then reads it with no echo.
Restriction: This routine is not currently supported in COBOL for JVM.

Syntax:

call "CBL_READ_KBD_CHAR" using     char
                         returning status-code

Parameters:

  Using call prototype (see Key) Picture
char cblt-x1-compx. pic x.
status-code See Library Routines - Key.

On Entry:

None

On Exit:

char The character that was typed, in ASCII.

Comments:

This routine should be preceded by an enhanced ACCEPT or DISPLAY statement (see the chapter Adis in your Character User Interfaces book) or by calling one of the CBL_ display routines. Otherwise the behaviour is undefined.

Previous Topic Next topic Print topic