SET TYPEAHEAD Command

See Also

Specifies the maximum number of characters that can be stored in the type-ahead buffer.

Syntax

SET TYPEAHEAD TO nCharacters

Arguments

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 the they are ready to be processed. The default value for SET TYPEAHEAD is 20.