Re: Linking two or more IDL programs [message #80451] |
Sat, 16 June 2012 17:47 |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
On Saturday, June 16, 2012 7:52:36 PM UTC-4, gutewaqi wrote:
> Dear All
>
> I have four different programs written in IDL, each program gives me one or two parameters.I want to use the out put of this programs, as an input for one single equation, in the fifth one (that i am writing). I am facing difficulty in linking this programs into one last program. Can you help please?
I suggest you learn about IDL procedures and functions. This concept is also known as the "subroutine" in most computer science classes. Data is passed to procedures and functions using parameters, and can be returned in variables.
It helps to name your procedures so that they are automatically loaded:
http://www.idlcoyote.com/tips/namefiles.html
|
|
|