keyav

Purpose

Check if keystroke is available.

Format

x = keyav
Returns:x (scalar) – value of key or 0 if no key is available.

See also

Functions keyw(), key()