Extracts the next key code from the Harbour keyboard buffer.
inkey.ch | Meaning |
INKEY_MOVE | Mouse motion events are allowed |
INKEY_LDOWN | The mouse left click down event is allowed |
INKEY_LUP | The mouse left click up event is allowed |
INKEY_RDOWN | The mouse right click down event is allowed |
INKEY_RUP | The mouse right click up event is allowed |
INKEY_KEYBOARD | All keyboard events are allowed |
INKEY_ALL | All mouse and keyboard events are allowed |
HB_INKEY_EXTENDED Extended keyboard codes are used. |
// Wait for the user to press the Esc key ? "Please press the ESC key." WHILE INKEY( 0.1 ) != K_ESC END Tests KEYBOARD "AB"; ? INKEY(), INKEY() ==> 65 66