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 #24538 is a reply to message #24536] Thu, 05 April 2001 06:01 Go to previous messageGo to previous message
Dominik[1] is currently offline  Dominik[1]
Messages: 46
Registered: April 2001
Member
Has it really to be the LAST program module ? I think it is working also
with other "places" in the file. Or will the module only find functions in
freont of him in the file?

Dominik
"David Fanning" <davidf@dfanning.com> schrieb im Newsbeitrag
news:MPG.153619385014b126989dcc@news.frii.com...
> 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 14:07:34 PDT 2025

Total time taken to generate the page: 0.00252 seconds