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

Home » Public Forums » archive » Re: Impossible to exit a $MAIN$ program
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Impossible to exit a $MAIN$ program [message #69702] Mon, 01 February 2010 07:54
MarioIncandenza is currently offline  MarioIncandenza
Messages: 231
Registered: February 2005
Senior Member
On Jan 31, 8:49 pm, JD Smith <jdtsmith.nos...@yahoo.com> wrote:
> In performing a bit of IDLWAVE cleanup, I noticed something I hadn't
> seen before (but which explains an annoyance I'd always had when
> working with $MAIN$ routines): there is no apparent way to return from
> a $MAIN$ program.

JD,

Yes, this is extra-annoying in this specific case, which happens to me
ALL THE TIME:

I am working with a file ROUTINE.PRO in IDLWAVE, and that file is $MAIN
$. At a certain point, I decide to branch the file, so I do a 'Save
As...', and now I am modifying ROUTINE2.PRO. At the command line, I
write out a command, which has a syntax error. IDL tells me the error
has returned me to $MAIN$, and LO AND BEHOLD, the IDLWAVE editing
window now contains ROUTINE.PRO. This can be very disruptive, as I
usually don't notice until I've got two files, ROUTINE and ROUTINE2,
neither of which is the original and neither of which is the completed
branch.

I think that compiling ROUTINE2.PRO immediately after I create it
would spare me this... now I just have to remember to do it...

--Edward H.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Impossible to exit a $MAIN$ program
Next Topic: hyperspectral image reading

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

Current Time: Wed Oct 08 13:36:33 PDT 2025

Total time taken to generate the page: 0.00526 seconds