Waits for a key to be pressed.
Scope: Global
Syntax
Description
The keyread command waits for a key to be pressed. The value can then be queried using query lastkey. Note that any key strokes corresponding to operating system functions will not be detected.
Example
To wait for a key to be pressed, type:
keyread
API Return Codes
None.
![]()
