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

Home » Public Forums » archive » How do I incorporate two or more subroutines from a main program
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: How do I incorporate two or more subroutines from a main program [message #89604 is a reply to message #89601] Thu, 30 October 2014 16:13 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Thursday, October 30, 2014 6:51:43 PM UTC-4, ians...@bigpond.net.au wrote:
> My question is does the additional subroutine also precede the main program ?

You can do it that way.

IDL has a set way that it looks for subroutines. It looks in the current working directory first, and then it looks in the directories listed in your IDL path.

So the easiest way is to actually just copy or move your third party subroutines to the current working directory (the same directory where your main program is). IDL should compile it automatically when you put that subroutine name into your main program.

Craig
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Implicit print bug in IDL 8.4?
Next Topic: Best routines for mapping satellite images

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

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

Total time taken to generate the page: 0.00333 seconds