comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » stop oddity
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
stop oddity [message #64870] Tue, 20 January 2009 12:16
Bringfried Stecklum is currently offline  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
[Message index]
 
Read Message
Previous Topic: Re: IDL_IDLBridge Issue
Next Topic: Re: Different sized pixels in pg_plotimage (is this a "feature")

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:53:52 PDT 2025

Total time taken to generate the page: 0.00360 seconds