29th November 2005, 9:50 AM
BTW - N-Man: it looks as though you are creating a pause by taking up processing time by setting off a loop that does nothing. It'll probably be okay if you don't plan to use the program on other systems, and it'll probably behave differently, based on how much work your processor has to do. It's pretty much just a waste of processing time. Putting the program to a halt would be more efficient. You would just find a function to halt/delay the program for a specified number of seconds, and replace the loop with that.
But if this is pretty much just a personal application with no intended widespread use, you probably don't care about efficiency.
But if this is pretty much just a personal application with no intended widespread use, you probably don't care about efficiency.