|
From: Jacques B. <jac...@no...> - 2005-01-06 07:37:35
|
Ethan Merritt wrote: > It is a bit ugly, however, since it burns a lot of CPU > cycles in that wait loop (the "pause -1" returns immediately, > as you already know, and so the loop is very tight). > ... I do not understand > the details of what goes wrong with the "pause" command > in your example, and without understanding it is hard to > develop a fix. Yes, the behavior of your "gnuplot<inputfile.dat" example fits exactly my need but its heavy CPU use is not acceptable. So I tried it in the "gnuplot inputfile.dat" way, but then it doesn't work so well: the application has to be terminated with both End and then Return in the launch terminal (only one method should be used). So, as you say that there is no problem with the pause command in that way, I hoped that you would show me how to modify this example so as to use it with "gnuplot inputfile.dat", and get the same behavior without the CPU use. Thanks again for your help. |