"Structure references nested too deeply"? [message #11292] |
Fri, 27 March 1998 00:00 |
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
|
|
|