PWB Extensions Help (ext.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
NameToKeys
                                             Up Contents Index Back
─────PWB Extensions─────────────────────────────────────────────────────────
 
  Syntax:  char far *NameToKeys( char far *Name, char far *Keys );
 
  Returns: A list of keys assigned to the specified name.
 
  See:     FindSwitch, NameToFunc, SetKey
 
     The NameToKeys function returns a string containing a list of keys
     currently assigned to the specified function or macro. The return
     value is the <Keys> pointer.
 
     The returned string has the form:
 
          <key1> and <key2> and ... <keyLast>
 
     If <Name> is not assigned to any keys, the string contains:
 
          "is unassigned"
 
     Argument   Description
 
     <Name>     The name of the command.
 
     <Keys>     A character array for the list of key names. It should
                be long enough to hold the longest expected return
                string. The <Name> and <Key> arguments can point to the
                same array.
                                    -♦-