The keypressed function

Description

The keypressed function returns a value of type boolean, which indicates whether there are keys in the keyboard buffer, waiting to be read. If there are keys in the keyboard buffer then the value true is returned, and if there are no keys in the keyboard buffer then the value false is returned.

Parameter

None.

Portability

Operating Systems: Windows
Standard Pascal: No