Home »
Public Forums »
archive »
Where is the right place to define new structs?
Where is the right place to define new structs? [message #26511] |
Wed, 05 September 2001 00:34 |
Olaf Stetzer
Messages: 39 Registered: September 2001
|
Member |
|
|
Hello again,
just another question:
I want to implement a function for thermodynamic
calculations I need. This function needs a parameter
set as input and returns a parameter set as output, so
I have to define the structs which hold these sets
somewhere.
I think that the right place is in the same .pro-file
which holds the function but I am not sure if IDL is reading
this definition automatically when I use the function in a
different program. Here is an example:
foo.pro:
define structs...
function code...
bar.pro:
use one of the structs, then
call the fuction foo and pass
the struct to the function.
Thanks for your help,
Olaf
ps: Maybe it is the right time of buying a book on
IDL-coding now... :-)
--
Dr. Olaf Stetzer
Forschungszentrum Karlsruhe
Institut f�r Meterologie und Klimaforschung
Atmosph�rische Aerosole (IMK III) - http://imk-aida.fzk.de
Tel.: +49(0)7247-82-3249 (FAX: -4332)
|
|
|
Current Time: Wed Oct 08 13:42:19 PDT 2025
Total time taken to generate the page: 0.00474 seconds