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

Home » Public Forums » archive » "Structure references nested too deeply"?
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
"Structure references nested too deeply"? [message #11292] Fri, 27 March 1998 00:00
John Keck is currently offline  John Keck
Messages: 10
Registered: August 1996
Junior Member
I'm having a problem with structures. My program uses the "execute"
function to create a structure, v, into which I copy a number of
variables

V STRUCT = -> <Anonymous> Array(1)
** Structure <38fd50>, 4 tags, length=32, refs=2:
T0 DOUBLE 112.77984
T1 DOUBLE 119.07984
T2 DOUBLE 121.17984
T3 FLOAT 417.047

My program later references the structure using a number in place of the
tag name:

tmp2 = v.(i)

About every other time that this line runs, IDL gives this error:

% Structure references nested too deeply: Anonymous.

This only seems to happen when the structure v is only one element long,
and then, as I said, only about every other time.

What am I doing wrong? What should I be doing instead?


Thanks,


John Keck
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: MAP_SET and !P.MULTI?
Next Topic: Re: recursive tag_names

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

Current Time: Fri Oct 10 00:44:16 PDT 2025

Total time taken to generate the page: 1.03805 seconds