Unit 'WinCRT' Package
[Overview][Procedures and functions][Variables][Index] [#rtl]

keypressed

Check if a key was pressed.

Declaration

Source position: wincrt.pp line 24

function keypressed: Boolean;

Function result

True if the user pressed a key, false if not.

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

readkey

  

Read a key from the keyboard.


Documentation generated on: Nov 23 2024