sleep() for half a sec?
- Posted by newphil82 Feb 17, 2015
- 1391 views
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!