SET TYPEAHEAD Command
Specifies the maximum number of characters that can be stored in the type-ahead buffer.
SET TYPEAHEAD TO nCharacters
Parameters
nCharacters
Specifies the maximum number of characters to store in the type-ahead buffer.No characters are held in the type-ahead buffer if you issue SET TYPEAHEAD TO 0. This statement deactivates INKEY( ) and ON KEY.
Remarks
The type-ahead buffer can store as many as 32,000 characters until they are ready to be processed. The default value for SET TYPEAHEAD is 20.