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

4.2.2 Waiting for Keys

00D71 FLUSHKEYS ( → )
Flushes the key buffer. aka: FLUSH
04708 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
04714 GETTOUCH ( → #kc T )
( → F )
Pops next key from key buffer (if there is one). Does handle shift-hold keys.
--
<REF>TEXT:Keycodes
42159 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
420A0 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
4203C GetKeyOb ( → ob )
Wait for a single key and return the object associated with this key. Does handle shift-hold keys.
--
<REF>TEXT:Keycodes
40454 DoKeyOb ( ob → )
Execute ob as if it had been assigned to a key and the key had been pressed.
047C7 REPKEY? ( #kc → flag )
Returns TRUE if the key is being pressed.
--
<REF>TEXT:Keycodes
40E88 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
51735 REPEATERCH ( → )
Same as REPEATER, but slower, so more appropriate for scrolling and cursor motions.
--
<REF>TEXT:Keycodes
42402 KEYINBUFFER? ( → flag )
Returns TRUE if there is at least a key in the key buffer.
41F65 WaitForKey ( → #kc #flag )
Returns next full key press. Does not handle shift-hold keys.
--
<REF>TEXT:Keycodes
1A738 Wait/GetKey ( % → ? )
Internal WAIT command. 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