inKey
Returns ASCII code of currently pressed key.
Syntax:
variable
= inKey
Example:
while not key(k_esc)
prints("press a key.")
locate( 0,10)
prints("ASCII code of pressed key is: " &
inKey
)
waitVBL
cls
wend