Put an inkey code to the keyboard buffer.
HB_KEYPUT( <nInkeyCode> )
<nInkeyCode> is the inkey code, which should be inserted into the keyboard buffer.
There is no return value.
Inserts an inkey code to the string buffer. The buffer is *not* cleared in this operation. This function allows to insert such inkey codes which are not in the range of 0 to 255. To insert more than one code, call the function repeatedly. The zero code cannot be inserted.
// Stuff an Alt+PgDn key into the keyboard buffer hb_keyPut( K_ALT_PGDN )
hb_keyPut( K_ALT_PGDN ) ; ? INKEY() ==> 417 hb_keyPut( K_F11 ) ; ? INKEY() ==> -40
Library is rtl
KEYBOARD, CLEAR TYPEAHEAD, INKEY()