Command SET TYPEAHEAD Foundation
Sets the size of the keyboard buffer (or more exactly: the event queue).
SET TYPEAHEAD TO <nMaxEvents>
SET TYPEAHEAD determines the maximum number of keystrokes which are temporarily stored in the keyboard buffer. More precisely, the keyboard buffer in Xbase++ is an event queue in which all incoming events are buffered, regardless of whether they are caused by the mouse or by the keyboard. Since Xbase++ provides an event driven system, <nMaxEvent> must be a value greater or equal 10. Smaller values can make an application uncontrollable.
If a value less than 10 is specified for <nMaxEvent>, the value is set to 10. Specifying zero causes all events in the queue to be deleted and the size of the queue to be set to 10.
The command SET TYPEAHEAD limits the maximum number of characters which can be placed in the keyboard buffer using the command KEYBOARD.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.