contents.gifprev1.gifnext1.gif

SET(UNDEFINED_KEY)

Description:

SET(UNDEFINED_KEY) sets the output for an undefined key according to the specified key-map-list in the second parameter, where the optional third parameter program or learn sequence is stored. The third parameter can be the buffer, learn sequence, program, range, or string containing action statements to take effect following the use of an undefined key. If no third parameter is used, "key has no definition" will be displayed if pressed.

Syntax:

SET(UNDEFINED_KEY, string )

SET(UNDEFINED_KEY, string, executable )

Valid executable types are: Buffer, Learn, Program, Range, String, or NONE

Example:

The following statement sets the undefined key action to process the unknown_keypress program for the TPU$KEY_MAP_LIST key-map-list.

SET(UNDEFINED_KEY, 'TPU$KEY_MAP_LIST', unknown_keypress);

Errors:

TPU$_NOKEYMAPLIST Undefined key-map-list.

Related Builtins:

GET_INFO (string_variable, "undefined_key")