Check if a key was pressed.
Source position: wincrt.pp line 24
function keypressed: Boolean;  | 
True if the user pressed a key, false if not.
KeyPressed returns True if the user pressed a key, or False if not. It does not wait for the user to press a key.
  | 
Read a key from the keyboard.  |