Previous: AsciiToScan function To the Table of Content Next: FlushKeyboard procedure

- 4.41.2.2 -
Standard Units
Keyboard Unit
Keyboard Unit Procedures and Functions

GetKey

Targets: MS-DOS, Win32 console


Keyboard Unit

Returns a character and an extended scan code.

Declaration:
function GetKey: WORD;
Remarks:
The GetKey function returns the character code in its low-order byte (LoByte(GetKey)) and the extended scan code in its high-order byte (HiByte(GetKey)).

See also:
MultikeysDone
MultikeysInit


Previous: AsciiToScan function To the Table of Content Next: FlushKeyboard procedure
AsciiToScan function Table of Content FlushKeyboard procedure

- 4.41.2.2 -