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

4.2.2 Waiting for Keys

261CA 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
25ED6 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
25ED7 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
25ED9 GetKeyOb ( → ob )
Wait for a single key and return the object associated with this key. Does handle shift-hold keys.
--
<REF>TEXT:Keycodes
25EC5 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
25EF5 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
25EF6 REPEATERCH ( → )
Same as REPEATER, but slower, so more appropriate for scrolling and cursor motions.
--
<REF>TEXT:Keycodes
25EE3 KEYINBUFFER? ( → flag )
Returns TRUE if there is at least a key in the key buffer.
25F0B WaitForKey ( → #kc #flag )
Returns next full key press. Does not handle shift-hold keys.
--
<REF>TEXT:Keycodes
2F268 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