- 4.8.2.11. -
Table of Contents
4. Standard Units
4.8. CRT - Keyboard and monitor control routines
4.8.2. CRT Unit Procedures and Functions
4.8.2.11. KeyPressed function
4.8.2.11. KeyPressed function
Targets: MS-DOS, OS/2, Win32
CRT Unit, WinCRT Unit
Returns True if a key has been pressed on the keyboard.
Declaration:
function KeyPressed: Boolean;
Remarks:
The key code can be read using the ReadKey
function.
- 4.8.2.11. -