Re: sleep() for half a sec?

new topic     » goto parent     » topic index » view thread      » older message » newer message
newphil82 said...

Just in case you get this problem??

I wanted to make a VERY QUICK 'blink' in a Windows GUI. Docs suggest fractions OK in 'sleep' but I got: sleep(0.5) type check failure, "t is an integer"


This quick solution worked for me: machine_proc(64, 0.5) 64 is M_SLEEP, but number easier to find!

Or use std/os.e for sleep() instead of misc.e

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

Search



Quick Links

User menu

Not signed in.

Misc Menu