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

Home » Public Forums » archive » Re: Trouble finding procedure files
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: Trouble finding procedure files [message #53779 is a reply to message #53778] Mon, 30 April 2007 08:51 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Ryan. writes:

> I have a procedure that I have modified from an older version that IDL
> cannot seem to find. My old routine was called
> 'gen_wkly_snr_dates.pro' and the new one is called
> 'gen_wkly_snr_dates_v2.pro'. I moved the old procedure out of any of
> the folders in the path to test the new one. This is what happens
> when I attempt to compile it:
>
> IDL> .compile gen_wkly_snr_dates_v2
> % Compiled module: GEN_WKLY_SNR_DATES.
> IDL> gen_wkly_snr_dates_v2
> % Compiled module: GEN_WKLY_SNR_DATES_V2.
> % Attempt to call undefined procedure/function:
> 'GEN_WKLY_SNR_DATES_V2'.
> % Execution halted at: $MAIN$
>
> It compiles the old routine when I want it to compile the new one.
> The new one is in the current working directory. I've tried exiting
> IDL and restarting but I get the same message. What is wrong?

Make sure the name of the procedure is EXACTLY the same
as the name of the file, or you will be wasting all your
time compiling files that don't need to be compiled. :-)

http:/www.dfanning.com/tips/namefiles.html

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.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Trouble finding procedure files
Next Topic: simple CALL_EXTERNAL

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

Current Time: Sat Oct 18 09:30:53 PDT 2025

Total time taken to generate the page: 2.23796 seconds