GetKey
Character code of the next key pressed (0 if none).
GetKey()
Parameters
- None.
Description
Gives back the character of the next key typed, as a character code (65 for A, 13 for Enter), or 0 if nothing has been typed. It doesn't wait. Typed characters queue up until read, so it suits reading names and other text without stopping the game. Turn the code into a letter with Chr.
