| [Overview][Procedures and functions][Variables][Index] | 
Read a key from the keyboard
Source position: wincrt.pp line 21
function readkey: Char;  | 
The pressed key
ReadKey reads a key from the keyboard, and returns the ASCII value of the key, or the scancode of the key in case it is a special key.
The function waits until a key is pressed.
  | 
Check if a key was pressed.  |