VMS Help  —  RTL Routines, SMG$  SMG$NAME_TO_KEYCODE, Arguments
 key-name

    OpenVMS usage:char_string
    type:         character string
    access:       read only
    mechanism:    by descriptor

    String containing the name of the key to be translated into a
    key code. The key-name argument is the address of a descriptor
    pointing to the character string containing the key name. The
    key-name argument is simply the name of the key (for example,
    COMMA, PERIOD, KP4, and so forth).

 key-code

    OpenVMS usage:word_unsigned
    type:         word (unsigned)
    access:       write only
    mechanism:    by reference

    Specifies the key code into which key-name is to be translated.
    The key-code argument is the address of an unsigned word that
    contains the key code.

    The key code is returned by SMG$READ_COMPOSED_LINE, SMG$READ_
    KEYSTROKE, SMG$READ_STRING, and SMG$READ_VERIFY in the word-
    terminator-code argument.
Close Help