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

Home » Public Forums » archive » Re: Compile/Restore on Startup
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: Compile/Restore on Startup [message #64662 is a reply to message #64661] Fri, 09 January 2009 12:15 Go to previous messageGo to previous message
Brian is currently offline  Brian
Messages: 27
Registered: March 2001
Junior Member
On Jan 9, 2:05 pm, David Fanning <n...@dfanning.com> wrote:
> Brian writes:
>> I am using IDL 7.0 with ENVI 4.5.  I have a .sav file which is
>> supposed to create a dropdown menu on the ENVI toolbar.   It works
>> correctly when the .sav file is RESTORED upon starting IDL (usually
>> only happens the first time I attempt it).  After that it gets
>> COMPILED upon startup.  It also works with the older versions of IDL/
>> ENVI.
>
>> My question is this:  Is there anyway to specify if IDL 7.0 RESTORES a
>> file upon startup, as opposed to COMPILING?  Has anyone else had this
>> problem?
>
> This doesn't make sense to me. An ENVI save file will
> contain some sort of IDL procedure or function that will
> be called from ENVI. These files are saved in the ENVI
> "save/restore" directory.
>
> If the file was restored, why would ENVI (or IDL, for that
> matter) be compiling it?
>
> Something fishy here you are not telling us. :-)
>
> 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.")

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.

Thanks,
Brian
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Some errors about 7.0.3 update
Next Topic: Two Million Visitors!

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

Current Time: Fri Oct 24 00:52:13 PDT 2025

Total time taken to generate the page: 2.87388 seconds