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

Home » Public Forums » archive » Re: Cant find functions in lib
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: Cant find functions in lib [message #24546 is a reply to message #24538] Thu, 05 April 2001 05:55 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Dominik (dpaul@ukl.uni-freiburg.de) writes:

> I am using IDL for imaging in Nuklear Medicine. We wrote a big library
> (NukMed.pro) with some functions and dont wont to compile it each time. So
> we thought to put it in the lib directory of IDL, where IDL itself puts all
> its *.pro.
> But when we try to use it, IDL doesnt find the functions we used the whole
> time. Do I have to precompile it or to sign up in a special list for all
> *.pro files?

If you find you have to "compile" the code before
you can use it, then the code is not written correctly.
Putting it in the lib directory won't help, alas. :-(

If code is written so that the *last* program module in
the file has the same name as the program file, which will
also be the "name" of the command you are trying to build,
then this program will be automatically compiled when
the "command" is used, assuming the file is anywhere
in the !PATH.

You never have to pre-compile anything in IDL, assuming you
have written it correctly.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Was: Index... Now: Vectorize, huh?
Next Topic: why is using objects so much slower ?

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

Current Time: Wed Oct 08 16:12:06 PDT 2025

Total time taken to generate the page: 0.00418 seconds