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

Home » Public Forums » archive » Using function after .reset
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: Using function after .reset [message #82748 is a reply to message #82652] Thu, 10 January 2013 10:11 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Paul Mallas writes:

> I am running IDL 8.2.1 on a Linux 64 bit system. I have encountered an odd problem using a function after a .reset is performed.
>
> Upon opening idlde, I run my program without a problem. I decide I need make a change in an object and in order to recompile the object with the change I must .reset. I rerun the program and everything must recompile. One function (called imgOpen with filename imgopen.pro) which compiled and ran fine in the first run, now compiles, but the function cannot be found. See below:
>
> % Compiled module: IMGOPEN.
> % Attempt to call undefined procedure/function: 'IMGOPEN'.
>
> Anyone have an idea why this occurs?

I don't know this for a fact, and I'm guessing because I haven't been
following this thread closely, but I would wager some serious money that
if you stuck Compile_Opt idl2 in all of your program modules and
restarted IDL, that this problem would go away.

In fact, I'm going to double down on it! ;-)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: equivalent width measurements
Next Topic: Re: Error Handling Advice

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

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

Total time taken to generate the page: 0.00390 seconds