CRT Documentation: Reference |
[This procedure has changed from its original DOS version.]
Reads a character from the keyboard.
function ReadKey: AnsiChar;
Returns a character or an extended scan code.
The character is not echoed to the screen. The Delphi version of ReadKey returns an AnsiChar which is fundamentally the same as the Turbo Pascal char type.