If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!
Moderators: Pete, Mods
-
giwake
- Newbie
- Posts: 2
- Joined: Wed Jul 27, 2016 4:33 am
Post
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
-
giwake
- Newbie
- Posts: 2
- Joined: Wed Jul 27, 2016 4:33 am
Post
by giwake »
Thanks!
-
mikefromca
- Coder
- Posts: 41
- Joined: Wed Oct 16, 2019 11:28 am
Post
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