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

4.2.2 Waiting for Keys

00C3A FLUSHKEYS ( → )
Flushes the key buffer. aka: FLUSH
04F92 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
04F9E GETTOUCH ( → #kc T )
( → F )
Pops next key from key buffer (if there is one). Does handle shift-hold keys.
--
<REF>TEXT:Keycodes
2661F 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
264C6 GETKEY* ( → #kc T )
( → F F )
( → {Alrmlist} T F )
Get a single keypress from the keybuffer, waits if necessary. The key is returned along with TRUE. If an exception happens (error or alarm), the exceptions is handled and the entry returns FALSE. Does handle shift-hold keys.
--
<REF>TEXT:Keycodes
05051 REPKEY? ( #kc → flag )
Returns TRUE if the key is being pressed.
--
<REF>TEXT:Keycodes
1747B 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
1747B REPEATERCH ( → )
Same as REPEATER, but slower, so more appropriate for scrolling and cursor motions.
--
<REF>TEXT:Keycodes
26943 KEYINBUFFER? ( → flag )
Returns TRUE if there is at least a key in the key buffer.
262DB WaitForKey ( → #kc #flag )
Returns next full key press. Does not handle shift-hold keys.
--
<REF>TEXT:Keycodes


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

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