Previous Up Next

25.2.3  Reading a single keystroke

The getKey command gets the next keystroke.

For example, if you enter

asciicode:=getKey()

and hit the A key, then the variable asciicode will have the value 65, which is the ASCII code of capital A.


Previous Up Next