Programmer's WorkBench (pwb.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.
Tell Function
 Tips                                      Up Contents Index Back
─────Programmer's WorkBench─────────────────────────────────────────────────
 
     Tell («tell»)
          Displays the message "Press a key to tell about" and waits
          for a keystroke. After you press a key or combination of
          keys, Tell brings up the Tell dialog box showing the name of
          the key and its assigned function in TOOLS.INI key-assignment
          format.
 
          The key-assignment format is:
 
               function:key
 
          If the key is not assigned a function, Tell displays
          'unassigned' for the function name.
          See: Unassigned
 
          If you press a combination of keys, but Tell still shows the
          'Press a key' prompt (when you press SCROLL LOCK, for
          example), PWB is unable to recognize that combination of keys
          and you cannot use it as a key assignment.
 
     Arg Tell («arg» «tell»)
          Prompts for a key, then displays the name of the function or
          macro assigned to the key in one of these formats:
 
               function:key
               macroname:=definition
 
     Arg <textarg> Tell («arg» <textarg> «tell»)
          Displays the value of the macro named by <textarg>. If you
          specify a PWB function, Tell displays
 
               function:function
 
     Meta ... Tell
     «meta» ... «tell»
          As above except Tell types the result into the current file
          rather than displaying it in a dialog box. This is how to
          discover the definition of any macro, including PWB macros.
 
     Returns
 
     True:  Assignment displayed or typed.
     False: No assignment for the key or the specified name.
 
     See
 
     Assign, Record
     Edit menu, Set Record
     Edit menu, Record On
 
     Update
 
     In PWB 1.x, the prompt and results appear on the status bar: in
     PWB 2.0, the prompt and results appear in dialog boxes.
                                    -♦-