Home »
Public Forums »
archive »
stop oddity
stop oddity [message #64870] |
Tue, 20 January 2009 12:16 |
Bringfried Stecklum
Messages: 75 Registered: January 1996
|
Member |
|
|
About a year ago, I wrote about a strange behavior of the stop procedure but
obviously did not gain much insight since then. Right now I encountered the
problem again and wanted to nail it down using a small main program
print,'This is a test'
stop
print,'Hello world'
end
This what I get in the terminal where the problem occurs
IDL> .r test
% Compiled module: $MAIN$.
This is a test
% Stop encountered: $MAIN$ 2 /home/stecklum/test.pro
IDL> .c
% Stop encountered: $MAIN$ 2 /home/stecklum/test.pro
IDL>
The code simply does not continue with the program execution. I have to admit
that other code was running in that terminal before but without explicitly
affecting program control settings. For a fresh session in another terminal the
program behaves like it should
IDL> .r test
% Compiled module: $MAIN$.
This is a test
% Stop encountered: $MAIN$ 2 /home/stecklum/test.pro
IDL> .c
Hello world
IDL>
This leaves me puzzled. IDLHELP says that .cont continues (if possible). I hope
some of you know what makes the difference.
Regards, Bringfried
|
|
|
Current Time: Wed Oct 08 13:54:25 PDT 2025
Total time taken to generate the page: 0.00429 seconds