Please enable JavaScript to view this site.

R:BASE 11 Help

Navigation: Function Index > C

CHKKEY

Scroll Prev Top Next More

(CHKKEY(0))

 

Returns an integer value of 1 if there are keystrokes available in the type-ahead buffer. 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.

 

The CHKKEY function is only supported in R:BASE for DOS, and will not return a valid value in R:BASE for Windows.