Page 1 of 1
Is there a way to delay less than a second?
Posted: Sat Sep 17, 2016 10:16 pm
by giwake
I'm trying to make a demoscene/animation and I can't find any way to wait less than a second.
Please don't reply with
Because my PC is WAYY too fast.
Thanks,
giwake
Re: Is there a way to delay less than a second?
Posted: Sun Sep 18, 2016 6:33 am
by burger2227
TIMER can be used down to 1/18th of a second:
http://www.qb64.net/wiki/index.php/TIMER
You can use _DELAY in QB64 only for delays of less than one second down to .001
Re: Is there a way to delay less than a second?
Posted: Tue Oct 04, 2016 11:44 pm
by giwake
Thanks!
Re: Is there a way to delay less than a second?
Posted: Fri Oct 18, 2019 12:17 am
by mikefromca
That makes a delay of 0.1 seconds (1/10th) of a second. Adjust the number to suit your fancy.
Code: Select all
start#=timer
Do
loop until (timer - start#) >= 0.1