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

Home » Public Forums » archive » Re: compiling before needing
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: compiling before needing [message #26587 is a reply to message #26586] Thu, 13 September 2001 07:44 Go to previous messageGo to previous message
Paul van Delst is currently offline  Paul van Delst
Messages: 364
Registered: March 1997
Senior Member
Reimar Bauer wrote:
>
> Todd Clements wrote:
>>
>>> My programm consists of several functions and procedures in
>>> corresponding files. Is there a way of automatically compiling all files
>>> (functions/procedures) before they are needed
>>
>> Reimar is right - just stick a resolve_all at the beginning of the
>> function that is called, and IDL will resolve all routines.
>>
>> I've also written a routine that will do this much, much more manually
>> (which isn't what you wanted, but I thought I'd share anyway). It will
>> let you check if a routine is compiled and you can optionally force it
>> to compile. The /compile keyword will compile it if it's not already
>> compiled, and the /force_compile keyword will compile it even if it's
>> already compiled. The function returns 1 if the routine is compiled and
>> 0 if it is not.
>>
>> Todd
>>
>
> In addition to Todd here is a routine to compile all routines used
> in a routine and the routine itself.

Umm.... huh?

What about sticking procedures/functions in their own files.

paulv

--
Paul van Delst Religious and cultural
CIMSS @ NOAA/NCEP purity is a fundamentalist
Ph: (301)763-8000 x7274 fantasy
Fax:(301)763-8545 V.S.Naipaul
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Calling LAPACK from IDL
Next Topic: previous and last

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

Current Time: Tue Oct 21 05:58:37 PDT 2025

Total time taken to generate the page: 0.80013 seconds