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

Home » Public Forums » archive » Where is the right place to define new structs?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Where is the right place to define new structs? [message #26511] Wed, 05 September 2001 00:34
Olaf Stetzer is currently offline  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)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How far is OO implemented in IDL?
Next Topic: Display clashes under Red Hat Linux 7.1/IDL 5.2

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

Current Time: Wed Oct 08 13:42:19 PDT 2025

Total time taken to generate the page: 0.00474 seconds