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 #11365 is a reply to message #11337] Fri, 20 March 1998 00:00 Go to previous messageGo to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
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
[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 03:55:51 PDT 2025

Total time taken to generate the page: 1.68242 seconds