cobkeypad

Puts the numeric keypad of the terminal keypad into local mode or transmit mode.
Restriction: This function is supported for native COBOL only.

Syntax:

#include "cobscreen.h"

void cobkeypad(int mode);

Parameters:

mode The keypad mode; either 0 or 1.

Comments:

This routine puts the numeric keypad of the terminal keypad (if there is one) into local mode or transmit mode. To function correctly, the smkx (transmit mode) and rmkx (local mode) entries must be present in the terminfo database for the terminal type you are using.

The mode parameter should be 0 to put the keypad into local mode or 1 to put the keypad into transmit mode. Any other value is undefined.

By default, the run-time system puts the numeric keypad into transmit mode when smkx is present in your terminfo database.

Equivalent COBOL Syntax:

None.