Difference between revisions of "SET TYPEAHEAD"

From Recital Documentation Wiki
Jump to: navigation, search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=SET TYPEAHEAD=
 
 
 
==Class==
 
Keyboard Events
 
 
 
 
==Purpose==
 
==Purpose==
 
Specify the number of characters that the terminal typeahead buffer can contain
 
Specify the number of characters that the terminal typeahead buffer can contain
Line 15: Line 8:
  
 
==See Also==
 
==See Also==
[[ON KEY]], [[INKEY()]]
+
[[CLEAR TYPEAHEAD]], [[INKEY()]], [[KEYBOARD]], [[ON KEY]]
  
  
Line 23: Line 16:
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
set typeahead to 10
 
set typeahead to 10
set typeahead to 0</pre>
+
set typeahead to 0
 +
</code>
  
  
 
==Products==
 
==Products==
Recital Mirage Server, Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:Set_Commands|TYPEAHEAD]]
 
[[Category:Set_Commands|TYPEAHEAD]]
 +
[[Category:Keyboard Events]]
 +
[[Category:Keyboard Events Set Commands]]

Latest revision as of 15:50, 25 November 2009

Purpose

Specify the number of characters that the terminal typeahead buffer can contain


Syntax

SET TYPEAHEAD TO <expN>


See Also

CLEAR TYPEAHEAD, INKEY(), KEYBOARD, ON KEY


Description

The SET TYPEAHEAD TO <expN> commands allows you to specify the maximum number of characters that can be stored in the terminal typeahead buffer. Setting the typeahead buffer to 0 disables the typeahead buffer. When typeahead is 0, the INKEY() function and the ON KEY command are also disabled.


Example

set typeahead to 10
set typeahead to 0


Products

Recital