Inkey()

Syntax

String$ = Inkey()

Description

Returns a two character string if a key is pressed during the call of Inkey(). It doesn't interrupt the program flow. If the result isn't empty, it contains two characters: the left one is the ASCII value of the character pressed, and the right part is it's associated number. It's useful for none alphabetical keys (function keys, arrows, etc...).

Supported OS

Windows

Console - Index