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

Home » Public Forums » archive » Re: Structure of Structure
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: Structure of Structure [message #11343 is a reply to message #11337] Mon, 23 March 1998 00:00 Go to previous messageGo to previous message
Stephan Oerder is currently offline  Stephan Oerder
Messages: 4
Registered: March 1998
Junior Member
William Thompson wrote:
>
> Stephan Oerder <Oerder@nv.et-inf.uni-siegen.de> writes:
>
>> I have a problem :
>> IDL/WAVE informs me that my big structure have too many tags !!!
>> So I decided to to devide the big structure into two smaller ones...
>> I try to create a structure of a structure :
>
>> fr_1 = { STRUCT_1_NAME, $
>> Test_1:bytarr(12), $
>> Test_2:bytarr(12), $
>> Test_3:bytarr(12) $
>> }
>
>> fr_2 = { STRUCT_2_NAME, $
>> Test_a:bytarr(12), $
>> Test_b:bytarr(12), $
>> Test_c:bytarr(12) $
>> }
>
>> fr = { STRUCT_NAME, $
>> struct_var_2 : {STRUCT_1_NAME}, $
>> struct_var_2 : {STRUCT_2_NAME}, $
>> }
>
>> This is not working !!!!
>> How can I create a structure of a structure ???
>> Stephan
>
> Your problem is extremely simple. You have a couple of simple typos in the
> final command. (It happens to the best of us.) If you instead enter in
>
> fr = { STRUCT_NAME, $
> struct_var_1 : {STRUCT_1_NAME}, $
> struct_var_2 : {STRUCT_2_NAME} $
> }
>
> it should work fine.
>
> Bill Thompson

Thanks 1000 * times !!!

This was not the main problem !!!
My problem is that under IDL 3.xx and IDL 4.xx
IDL have a problem with Structure of Structure definitions.
I tested your routine under IDL 3.xx and IDL 4.xx (PC, Vax-VMS) and it
was not working .
But under IDL 5.0 (Alpha) it works...
-> let's update...
Stephan
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: passing pointers to CALL_EXTERNAL
Next Topic: Compatibility of MAP functions between IDL & wave

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

Current Time: Sat Oct 11 14:34:52 PDT 2025

Total time taken to generate the page: 1.28141 seconds