Product Site

8.28. SysGetKey

Reads and returns the next key from the keyboard buffer. If the keyboard buffer is empty, SysGetKey waits until a key is pressed. Unlike the CHARIN built-in function, SysGetKey does not wait until the Enter key is pressed.

Parameter:
opt

An option controlling screen echoing. Allowed values are:
"ECHO"

Echo the pressed key to the screen. This is the default.
"NOECHO"

Do not echo the pressed key.