TypeAhead: Difference between revisions
(Created page with "The '''TypeAhead''' BRConfig.sys specification turns keyboard buffering on or off. ====Comments==== The default is TypeAhead ON (ON is not required); this causes keystrok...") |
|||
Line 5: | Line 5: | ||
00100 IF KSTAT$<>"" THEN GOTO 100 ! clear keyboard buffer | 00100 IF KSTAT$<>"" THEN GOTO 100 ! clear keyboard buffer | ||
TYPEAHEAD can also be set using the [[CONFIG]] command, or from within a program using the [[Execute]] statement. | |||
====Syntax==== | ====Syntax==== |
Latest revision as of 18:54, 31 July 2015
The TypeAhead BRConfig.sys specification turns keyboard buffering on or off.
Comments
The default is TypeAhead ON (ON is not required); this causes keystrokes to be buffered. TypeAhead OFF will clear the keyboard buffer before input. This is desirable for beginning operators who may stack up several return keys waiting for a function to complete. BRC recommends that even when TYPEAHEAD ON is used, menu programs should clear the keyboard buffer before input with a statement such as the following at the beginning of the program:
00100 IF KSTAT$<>"" THEN GOTO 100 ! clear keyboard buffer
TYPEAHEAD can also be set using the CONFIG command, or from within a program using the Execute statement.
Syntax
Diagram Default
ON.
Start-up Default
TypeAhead ON
Parameters
The "ON" parameter turns keyboard buffering on, and the "OFF" parameter causes the keyboard buffer to be cleared before input.