Re: How to check for Keystrokes within a Loop

new topic     » goto parent     » topic index » view thread      » older message » newer message

don cole wrote:
> 
> How do I check for Keystrokes inside a loop.
> In windows. (I know how in DOS).
> 
> }}}
<eucode>
> for x=1 to 1000 do
>   aWholeBunchOfStuff()
>   --check for keysroke here
> end for
> </eucode>
{{{

> 
> I know this probably a stupid question but I would appreciate any help.
> 
> don cole 
> SF
> 

I'd create a w32HKeyDown (etc) event and execute doEvents(0) regularly.

Regards, Alexander Toresson

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu