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

Home » Public Forums » archive » Re: resolve_all from inside a procedure?
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: resolve_all from inside a procedure? [message #77575] Tue, 13 September 2011 06:01
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Gianguido Cianci writes:

> I am trying to encourage my users to read the messages my
> code prints out, but they can get lost in a bunch of
> COMPILED system messages...
>
> The "solution" I have found is to have:
>
> compile_opt idl2
> resolve_all, /continue_on_error, unresolved=UR, /quiet
>
> right at the top. Now this seems to work in a practical sense.
> Just wondering how many years in hell it's going to cost me
> later, if any.
>
> Any thoughts?

If compile messages are what you are worried about, then
I would suggest spending more time in the morning
reading the newspaper. There may be one or two other
things that desperately need your attention!

What you could do, of course, is pre-compile your routines
and distribute them to your users as save files (*.sav).
IDL looks for *.sav files before it looks for *.pro files
when it needs something.

My experience with trying to "hide" things like this is
that it nearly always bites you in the ass. :-)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: resolve_all from inside a procedure?
Next Topic: Trouble exporting vector .eps file from ivolume

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

Current Time: Wed Oct 08 17:54:12 PDT 2025

Total time taken to generate the page: 0.00215 seconds