Re: sleep() for half a sec?
- Posted by jimcbrown (admin) Feb 17, 2015
- 1380 views
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