Skip to content

keypressed

Check if a key was pressed.

Declaration

Source position: wincrt.pp line 22

  function keypressed : Boolean;

Description

KeyPressed returns True if the user pressed a key, or False if not. It does not wait for the user to press a key.

See also

Name Description
readkey Read a key from the keyboard