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 #19790 is a reply to message #19779] Wed, 26 April 2000 00:00 Go to previous message
Alex Schuster is currently offline  Alex Schuster
Messages: 124
Registered: February 1997
Senior Member
Sameer Nigam wrote:

> hi!
> how do i link two-three files during compilation?
>
> also if i have a procedure X that is written in a file say X.pro and i
> want to call it as a subroutine in another procedure Y that is in another
> file Y, can i just call that procedure by reference/name

Yes.

> and if so how do i do it?

Wel, just do it. If you call some procedure X in a program, IDL searches
the path for a file x.pro, which it compiles then. Look at $IDL_DIR/lib,
there are many IDL routines, written in IDL.

I your file X contains a procedure Z, then you need to compile the file
x.pro beforehand (.compile x), so IDL can find the routine Z when it
needs it.

Alex
--
Alex Schuster Wonko@weird.cologne.de PGP Key available
alex@pet.mpin-koeln.mpg.de
[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: Fri Oct 10 01:34:39 PDT 2025

Total time taken to generate the page: 0.71545 seconds