The INKEY$ function reads a single keystroke from a terminal opened on a specified channel and returns the typed key. Escape sequences are interpreted and are returned as mnemonic strings. Example key_stroke$ = INKEY$(0%, WAIT)
1 – Syntax
string-var = INKEY$(chnl-exp [,WAIT [int-exp] ] )