05-09-2015, 03:14 AM
Hello!
I've an issue with the WAIT() command, I have a program that has around 37 subprograms, each of them has only one WAIT(-1); command at the end in order to show some results. My problem now is that... those results resume automatically after 60 seconds (without pressing any key), it doesn't matter if I use WAIT(-1); or WAIT(0); or WAIT;... these results keep fading away after one minute, aren't they supposed to remain in the terminal window indefinitely... until I press a key?, unfortunately they don't. Are there any other parameters of the WAIT() command I can use to keep those results on the screen until I press a key?
I also tried WAIT(300); this one lasts for 5 minutes, but in the mean time I can't resume the program normally ... I have to wait until time is up, ... well yes I can resume by pressing the [ON] key but that kills the whole program, and that's not the idea.
Thank you.
I've an issue with the WAIT() command, I have a program that has around 37 subprograms, each of them has only one WAIT(-1); command at the end in order to show some results. My problem now is that... those results resume automatically after 60 seconds (without pressing any key), it doesn't matter if I use WAIT(-1); or WAIT(0); or WAIT;... these results keep fading away after one minute, aren't they supposed to remain in the terminal window indefinitely... until I press a key?, unfortunately they don't. Are there any other parameters of the WAIT() command I can use to keep those results on the screen until I press a key?
I also tried WAIT(300); this one lasts for 5 minutes, but in the mean time I can't resume the program normally ... I have to wait until time is up, ... well yes I can resume by pressing the [ON] key but that kills the whole program, and that's not the idea.
Thank you.