[<<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
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson