Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Guide To CA-Clipper - <b>clear typeahead</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CLEAR TYPEAHEAD
 Empty the keyboard buffer
------------------------------------------------------------------------------
 Syntax

     CLEAR TYPEAHEAD

 Description

     CLEAR TYPEAHEAD is a keyboard command that clears all pending keys from
     the CA-Clipper keyboard buffer.  This is useful in user interface
     procedures or user-defined functions to guarantee that keys processed
     from the keyboard buffer are appropriate to the current activity and not
     pending from a previous activity.  User functions called by ACHOICE()
     and DBEDIT() are especially sensitive to such keys.

     Note that both the SET TYPEAHEAD and KEYBOARD commands also clear the
     keyboard buffer.

 Examples

     .  This example empties the keyboard buffer before invoking
        DBEDIT(), guaranteeing that any pending keys will not be executed:

        CLEAR TYPEAHEAD
        DBEDIT()

 Files   Library is CLIPPER.LIB.


See Also: KEYBOARD SET TYPEAHEAD

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson