[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.2.2 Waiting for Keys

81A86 FLUSHKEYS ( → )
Flushes the key buffer. aka: FLUSH
81A31 CHECKKEY ( → #kc T )
( → F )
Returns next key in the key buffer (if there is one), but does not pop it. Does handle shift-hold keys.
--
<REF>TEXT:Keycodes
81A36 GETTOUCH ( → #kc T )
( → F )
Pops next key from key buffer (if there is one). Does handle shift-hold keys.
--
<REF>TEXT:Keycodes
82C3D GETKEY ( → #kc flag )
Get a single keypress from the keybuffer, waits if necessary. The key is returned along with TRUE. If an exception happens, returns FALSE. The exception is not handled. Does handle shift-hold keys.
--
<REF>TEXT:Keycodes
81A3B REPKEY? ( #kc → flag )
Returns TRUE if the key is being pressed.
--
<REF>TEXT:Keycodes
82CDD REPEATER ( → )
Takes two objects from the runstream, a BINT and a program. The BINT must represent a keycode. The program is evaluated at least once, and then again and again as long as the specified key is being pressed.
--
<REF>TEXT:Keycodes
82CE7 REPEATERCH ( → )
Same as REPEATER, but slower, so more appropriate for scrolling and cursor motions.
--
<REF>TEXT:Keycodes
82C5B KEYINBUFFER? ( → flag )
Returns TRUE if there is at least a key in the key buffer.
82D0F WaitForKey ( → #kc #flag )
Returns next full key press. Does not handle shift-hold keys.
--
<REF>TEXT:Keycodes



This document was generated by Carsten Dominik on May, 30 2005 using texi2html