sleep() for half a sec?

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

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!

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

Search



Quick Links

User menu

Not signed in.

Misc Menu