Re: Something Has Changed [message #61447] |
Wed, 16 July 2008 14:04 |
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  |
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  |
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.")
|
|
|