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

Home » Public Forums » archive » Something Has Changed
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Something Has Changed [message #61477 is a reply to message #61453] Fri, 18 July 2008 08:50 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On Jul 18, 9:32 am, Douglas Dirks <ddirk...@gmail.com> wrote:
> IDL's behavior when searching for routines to compile or restore
> has not changed -- not in a long time, anyway. In looking at the
> documentation on automatic compilation, though, I see that the
> behavior is not particularly well described. I'm adding the following
> section to the "Automatic Compilation and Execution" topic:
>
> ----
> A Note on Files with Duplicate Names
>
> If multiple .pro or .sav files with the same base name exist in the
> directories
> specified by the !PATH system variable, IDL will compile or restore
> the first
> file it finds, according to the following rules:
>
> 1) IDL begins searching in the first directory specified by the
>    !PATH system variable.
>
> 2) If a .pro file whose base name matches the routine specified
>    exists in the directory being searched, IDL compiles it, runs
>    the routine, and stops searching.
>
> 3) If a .sav file whose base name matches the routine specified
>    exists in the directory being searched, IDL restores it, runs
>    the routine, and stops searching.
>
> 4) IDL proceeds to the next directory specified by the !PATH
>    system variable and begins testing again with step 2.
>
> 5) If no file whose base name matches the routine specified is
>    found in the directories specified by the !PATH system variable,
>    IDL issues an
>        Attempt to call undefined procedure/function
>    error, and halts execution.
> ----
>
> I hope that clears things up a bit,
>
> Doug Dirks

I think it would also be useful to include searching for system
routines/DLM_PATH and files in the current directory in your steps.

Mike
--
www.michaelgalloy.com
Tech-X Corporation
Software Developer II
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: edit .sav file
Next Topic: IDL Average Value Graphs

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

Current Time: Sun Oct 12 12:17:49 PDT 2025

Total time taken to generate the page: 0.39770 seconds