Hi, I want to create an infinate loop that runs in the background. I guess I'll need to split it off into it's own thread.... but before I get that far, how do I put a delay in the loop, so that for example, it only goes through the loop every 5 seconds.
Question
wa22guy
Hi, I want to create an infinate loop that runs in the background. I guess I'll need to split it off into it's own thread.... but before I get that far, how do I put a delay in the loop, so that for example, it only goes through the loop every 5 seconds.
How?
Link to comment
Share on other sites
18 answers to this question
Recommended Posts