Re: Compile/Restore on Startup [message #64657] |
Fri, 09 January 2009 13:34  |
Brian
Messages: 27 Registered: March 2001
|
Junior Member |
|
|
On Jan 9, 3:45 pm, David Fanning <n...@dfanning.com> wrote:
> Brian writes:
>> Perhaps my terminology is incorrect. Yes, I have a created an
>> ENVI .sav file and added it to the save_add directory. This is a save
>> of many routines that use both ENVI and IDL functions and procedures.
>> My issue is that it doesn't "RESTORE" the file everytime I open an
>> instance of ENVI, sometimes it merely "COMPILES" the file. When it
>> "RESTORES" the .sav, my toolbar exists and everything works great!
>> however, more often that not, it "COMPILES" the .sav and my toolbar is
>> not there:(
>
>> When I refer to RESTORE and COMPILE above, I'm referring to the
>> messages I get in the IDL console upon startup of ENVI, NOT the
>> commands. Hope this helps to decypher my previous message.
>
> This is exceedingly strange. :-)
>
> The only way it could possibly be "compiling" the file
> is if your IDL paths are all higgly-squiggly. Now, this could
> *certainly* happen if you are allowing IDL to set up your
> paths for you. But if you have been reading this newsgroup
> for any length of time, I find it hard to believe that
> this is so.
>
> In any case, since it is IDL 7 we are talking about here,
> I would just make ABSOLUTELY sure that your projects
> are NOT mucking with your IDL paths and that all your
> path directories are being set in the PATHS preferences.
>
> http://www.dfanning.com/workbench/pathchange.html
>
> Maybe that will straighten things out.
>
> You might find my PrintPath routine helpful in sorting all this
> out. I know I certainly have. :-)
>
> http://www.dfanning.com/programs/printpath.pro
>
> 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.")
That seemed to do it! It was a path issue. Thank you soooo much for
all of your help, you guys ROCK!
|
|
|