Previous: 4.41.2.1. AsciiToScan function To the Table of Contents Next: 4.41.2.3. FlushKeyboard procedure
4.41.2.1. AsciiToScan function Table of Contents 4.41.2.3. FlushKeyboard procedure

- 4.41.2.2. -
Table of Contents
4. Standard Units
4.41. Keyboard - Keyboard Handling unit
4.41.2. Keyboard Unit Procedures and Functions
4.41.2.2. GetKey function


4.41.2.2. GetKey function

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: 4.41.2.1. AsciiToScan function To the Table of Contents Next: 4.41.2.3. FlushKeyboard procedure
4.41.2.1. AsciiToScan function Table of Contents 4.41.2.3. FlushKeyboard procedure

- 4.41.2.2. -