Name: CHKKEY Syntax: (CHKKEY(0))
Family: Function Category: Keyboard and Environment
Description: Checks the keyboard buffer

Use the CHKKEY function to determine if a key stroke is waiting in the keyboard buffer. CHKKEY will return an integer value of 1 if there are keystrokes available in the keyboard buffer and returns 0 if no keystrokes are available. Use CHKKEY before GETKEY to determine if a key is available. CHKKEY does nothing with the zero that you enter in parentheses; CHKKEY returns a value without receiving one.