Stuffs the keyboard with a string.
<cString> String to be processed, one character at a time, by the Harbour keyboard processor
This command stuffs the input buffer with <cString>.
The number of characters that can be stuffed into the keyboard buffer is controlled by the SET TYPEAHEAD command and may range from 0 to 32, 622, with each character being in the ASCII range of 0 to 255.
None of the extended keys may be stuffed into the keyboard buffer.
Issuing a KEYBOARD ” ” will clear the keyboard buffer.
// Stuff an Enter key into the keyboard buffer KEYBOARD CHR(13) // Clear the keyboard buffer CLEAR TYPEAHEAD
KEYBOARD CHR(13); ? INKEY() ==> 13 KEYBOARD "HELLO"; CLEAR TYPEAHEAD; ? INKEY() ==> 0
KEYBOARD is compliant with CA-Cl*pper 5.3
CLEAR TYPEAHEAD, __KEYBOARD()