Keyboard buffer

Chipp Walters chipp at
Sun Jun 16 01:37:01 EDT 2002


Check out the flushevents() function. Perhaps it will do what you want.

> -----Original Message-----
> From: use-revolution-admin at
> [mailto:use-revolution-admin at]On Behalf Of Larry Litton
> Sent: Sunday, June 16, 2002 12:46 AM
> To: use-revolution at
> Subject: Keyboard buffer
> I have a stack that while running a script, needs to look at the 
> keyboard to see if some keys are pressed.  I don't care about all of the 
> keys, just a few.  The script works fine, I use the keysdown function 
> with no problems until I end the script.  Then all at once the keyboard 
> buffer dumps into a field.  Is there a way of purging the keyboard 
> buffer?  If the user holds the key down while in the script, I get the 
> desired effects until its over.
> Thanks
> llitton
> _______________________________________________
> use-revolution mailing list
> use-revolution at

More information about the Use-livecode mailing list