Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WAIT COMMAND
#1
How do you get the program to wait a certain amount of time before continuing??

Tom!
Reply
#2
where N is an integer number of seconds, is one way.
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.)
I liked spam better when it was something that came in a can.
Windows should be defenestrated.
Reply
#3
Code:
t# = TIMER
WHILE TIMER - t# < seconds: WEND
am an asshole. Get used to it.
Reply
#4
WAIT is not used for direct timing, however you can time your program using VSync Smile

Code:
SUB WaitVsync (Times AS INTEGER)
   FOR I = 1 TO Times
      WAIT &H3DA, 8
      WAIT &H3DA, 8, 8
   NEXT I
END SUB

There go 60 vsyncs in one second, so...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)