CLEAR TYPEAHEAD
From Recital Documentation Wiki
Revision as of 14:57, 10 November 2009 by Helengeorge (Talk | contribs)
Purpose
Clear terminal typeahead buffer
Syntax
CLEAR TYPEAHEAD
See Also
LASTKEY(), READKEY(), SET COMPATIBLE, SET TBUFSIZE, SET TYPEAHEAD
Description
The CLEAR TYPEAHEAD command clears the typeahead buffer of all keystrokes entered. The CLEAR TYPEAHEAD commands also resets the LASTKEY() and READKEY() functions to zero, unless SET COMPATIBLE is set to FOXBASE | FOXPRO | FOXPLUS.
Example
clear typeahead dialog box "Press ^W to continue, ^G to abandon." if lastkey()=ctrl("g") return endif
Products
Recital