Difference between revisions of "CLEAR TYPEAHEAD"

From Recital Documentation Wiki
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
==Class==
 
Keyboard Events
 
 
 
 
==Purpose==
 
==Purpose==
 
Clear terminal typeahead buffer
 
Clear terminal typeahead buffer
Line 30: Line 26:
  
 
==Products==
 
==Products==
Recital Mirage Server, Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:Keyboard Events]]
 
[[Category:Keyboard Events]]
 
[[Category:Keyboard Events Commands]]
 
[[Category:Keyboard Events Commands]]

Latest revision as of 14:57, 10 November 2009

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