[Next] [Up] [Previous]
Next: ReadKey Up: Procedures and Functions Previous: InsLine

KeyPressed

   

Declaration:

Function KeyPressed : Boolean;

Description:

The Keypressed function scans the keyboard buffer and sees if a key has been pressed. If this is the case, True is returned. If not, False is returned. The Shift, Alt, Ctrl are not reported. The key is not removed from the buffer, and can hence still be read after the KeyPressed function has been called.

Errors:

None.

See also:

ReadKey



Michael Van Canneyt
Thu Dec 12 15:44:18 MET 1996