Is there a way to get my program to wait for a certain amount of time that doesn't have the problem SLEEP does whereby if you push any key it skips the wait?
I thought about using TIMER but I was wandering if there were any other alternatives?
Edit: forget it I didn't realise there were any other parameters for "SLEEP"
Towels may be harmful if swallowed in large quantities.
SUB Delay (sec!)
LET stoptime! = TIMER + sec! 'sec! is the amount of delay in seconds
WHILE TIMER <> stoptime!
IF stoptime! > 86400 THEN stoptime! = stoptime! - 86400 'Midnight fix.
WEND
END SUB
I added the Midnight Fix because moneo reminded me about it in an earlier topic.
SUB Delay (sec!)
LET stoptime! = TIMER + sec! 'sec! is the amount of delay in seconds
WHILE TIMER <> stoptime!
IF stoptime! > 86400 THEN stoptime! = stoptime! - 86400 'Midnight fix.
WEND
END SUB
I added the Midnight Fix because moneo reminded me about it in an earlier topic.