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 #82747 is a reply to message #82652] Thu, 10 January 2013 10:16 Go to previous messageGo to previous message
PMan is currently offline  PMan
Messages: 61
Registered: January 2011
Member
On Thursday, January 10, 2013 1:11:10 PM UTC-5, David Fanning wrote:
> 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.")

I use "compile_opt idl2" often and it is indeed used in the function that can't be found. But I will look around.
[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:37:13 PDT 2025

Total time taken to generate the page: 0.00450 seconds