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

Home » Public Forums » archive » Re: linking programs/ procedures
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: linking programs/ procedures [message #19783 is a reply to message #19779] Wed, 26 April 2000 00:00 Go to previous messageGo to previous message
Troy Carter is currently offline  Troy Carter
Messages: 5
Registered: April 2000
Junior Member
OK. sorry, it doesn't exactly compile it separately, but I believe it
does what our friend asking the question wanted :). Sometimes it can be
necessary: I am part of an experimental group that works out of one unix
account (as a solution to the problem of who owns the data files, maybe
not the best solution -- afs permissions might be better). So, we all
use the same routines, but someone is always doing something stupid like
copying a routine out of one directory into another. So sometimes
several versions exist in severl places (all of which are in the idl
path). So this causes much frustration, and it has become easier to
target the specific file you are after with the "@" include statement.
Sure, we should do a better job of keeping often used routines in one
place with one version (I am trying to use RCS/CVS now to help out with
that), but just to be sure, the "@" makes a lot of sense.

-Troy

David Fanning wrote:
>
> Troy Carter (tcarter@princeton.edu) writes:
>
>> You can also use:
>>
>> @/path/to/program.pro
>>
>> At the beginning of your code. This will compile program.pro before
>> running the rest of your code.
>
> Uh, no, not exactly. It will put the program.pro code *into*
> the program file as if you had actually typed it there. It
> doesn't compile anything, and it is completely unnecessary. :-(
>
> 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

--
Troy Carter
tcarter@princeton.edu
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: tvrd and device,decomposed=0
Next Topic: Re: Object Rubberband Selection Box

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

Current Time: Wed Oct 08 18:53:10 PDT 2025

Total time taken to generate the page: 0.00432 seconds