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

Home » Public Forums » archive » Re: Where is the right place to define new structs?
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: Where is the right place to define new structs? [message #26507 is a reply to message #26506] Wed, 05 September 2001 02:45 Go to previous messageGo to previous message
Jaco van Gorkom is currently offline  Jaco van Gorkom
Messages: 97
Registered: November 2000
Member
Olaf Stetzer wrote:
> ... 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.

You probably want to use the input structure before the
function is run for the first time, which is tricky at best if
the named structure is defined in the function .pro-file .
The right place to put it is in an inputstruct__define.pro file.
Look up "Automatic Structure Definition" in the online help.

Have fun,
Jaco

> ps: Maybe it is the right time of buying a book on
> IDL-coding now... :-)

It is indeed. You won't regret it, really.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Display clashes under Red Hat Linux 7.1/IDL 5.2
Next Topic: Re: color bitmap button labels

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

Current Time: Sat Oct 11 09:21:57 PDT 2025

Total time taken to generate the page: 0.47960 seconds