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

Home » Public Forums » archive » Re: Something Has Changed
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: Something Has Changed [message #61447] Wed, 16 July 2008 14:04
Ryan. is currently offline  Ryan.
Messages: 77
Registered: March 2006
Member
Hi David,

In my version 6.4 of IDL it compiles the "junk.pro" file and runs it.
It must be a new to IDL 7.

Ryan.

David Fanning wrote:
> Folks,
>
> I usually teach in my IDL Programming courses that if you
> are at the IDL command line and you type "junk" that
> IDL goes looking through the IDL PATH for a file "junk.sav",
> then failing to find that, "junk.pro".
>
> In the former case, IDL would restore the already compiled
> routine, whereas in the latter case, it would have to
> compile the file.
>
> This seems no longer to be the case. If I have a "save" file
> and a "pro" file in my local directory, the "pro" file is always
> compiled. The "save" file is ignored.
>
> Does anyone know when this behavior changed? It is this way
> in IDL 6.4 and IDL 7.0.3 for sure.
>
> Cheers,
>
> David
Re: Something Has Changed [message #61451 is a reply to message #61447] Wed, 16 July 2008 13:17 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> This seems no longer to be the case. If I have a "save" file
> and a "pro" file in my local directory, the "pro" file is always
> compiled. The "save" file is ignored.
>
> Does anyone know when this behavior changed? It is this way
> in IDL 6.4 and IDL 7.0.3 for sure.

Well, if the "pro" file is missing, the "sav" file is used
instead. Maybe this is how this always worked, and I just
misunderstood it. But, somehow, I don't think so.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Something Has Changed [message #61452 is a reply to message #61451] Wed, 16 July 2008 13:03 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> This seems no longer to be the case. If I have a "save" file
> and a "pro" file in my local directory, the "pro" file is always
> compiled. The "save" file is ignored.
>
> Does anyone know when this behavior changed? It is this way
> in IDL 6.4 and IDL 7.0.3 for sure.

By the way, I am not unhappy that it has changed, as the old
behavior caused me untold hours of grief, but I was expecting
grief today and got none. I was totally confused. :-(

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.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: IDL_MakeStruct causes arithmetic exeception
Next Topic: Re: Unique Identifier

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

Current Time: Wed Oct 08 19:27:25 PDT 2025

Total time taken to generate the page: 0.00237 seconds