Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

MWAPI - Key, Character and Pointer Button Codes

Annotations

charcode

Approved for inclusion in a future M[UMPS] Windowing Application Programmer’s Interface.

This metalanguage symbol represents the an identification of a key on the keyboard. This symbol occurs as an expression that evaluates to the identification of one of: a single key that is not a comma, the string "COMMA", the name of a function key, or an implementation-specific value (starts with "Z"). This list is optionally preceded by a list of modifier-keys (separated by plus-signs). If there are any modifier-keys, there is a plus-sign between the name of the last modifier-key and the name of the key that is being modified.

commacode

Approved for inclusion in a future M[UMPS] Windowing Application Programmer’s Interface.

This metalanguage symbol occurs as an expression that evaluates to the string "COMMA". This symbol is used in lists, when a comma is needed as a character in a list element, while the comma-character would act as a list element separator.

functionkey

Approved for inclusion in a future M[UMPS] Windowing Application Programmer’s Interface.

This metalanguage symbol represents the name of a special keyboard key that is used to activate a specific function. This symbol occurs as an expression that evaluates to one of the values "BACKSPC", "BREAK", "CAPSLOCK", "DEL", "DOWN", "END", "ENTER", "ESC", "F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9", "F10", "F11", "F12", "F13", "F14", "F15", "F16", "F17", "F18", "F19", "F20", "F21", "F22", "F23", "F24", "FIND", "HOME", "INS", "LEFT", "NEXT", "NUM0", "NUM1", "NUM2", "NUM3", "NUM4", "NUM5", "NUM6", "NUM7", "NUM8", "NUM9", "NUMDEC", "NUMDEL", "NUMDIV", "NUMENTER", "NUMLOCK", "NUMMINUS", "NUMMULT", "NUMPLUS", "PAGEDOWN", "PAGEUP", "PAUSE", "PF1", "PF2", "PF3", "PF4", "RET", "RIGHT", "SCRLLOCK", "SEL", "TAB" or "UP".

keycode

Introduced in the 1995 ANSI M[UMPS] Windowing Application Programmer’s Interface standard.

This metalanguage symbol represents a key sequence (one or more keystrokes). Such codes can by any sequence of characters, except for commas.

To be modified in a future M[UMPS] Windowing Application Programmer’s Interface.

Key sequences may contain any characters, except for the comma. Any commas will be identified by the special value "COMMA" (see metalanguage symbol commacode). In addition, there may be special codes present in the specification of this key sequence that identify modifier-keys, function-keys or implementation-specific entities.

modifierkey

Approved for inclusion in a future M[UMPS] Windowing Application Programmer’s Interface.

This metalanguage symbol represents the name of a keyboard key that modifies the meaning of other keys. This symbol occurs as an expression that evaluates to one of the values "ALT", "ALTR", "COMMAND", "COMPOSE", "COMPOSER", "CTRL", "CTRLR", "OPTION", "SHIFT" or "SHIFTR".

pbuttoncode

Introduced in the 1995 ANSI M[UMPS] Windowing Application Programmer’s Interface standard.

This metalanguage symbol represents pointer button codes. Such codes can by any sequence of characters, except for commas.

To be modified in a future M[UMPS] Windowing Application Programmer’s Interface.

Pointer button codes occur as an expression that evaluates to one of the values "PB1", "PB2" or "PB3" or to an implementation-specific value (starts with "Z").

Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.

Some specifications are "approved for inclusion in a future standard". Note that the MUMPS Development Committee cannot guarantee that such future standards will indeed be published.

This page most recently updated on 14-Nov-2023, 21:55:34.

For comments, contact Ed de Moel (demoel@jacquardsystems.com)