IDL Structures [message #1694] |
Thu, 10 February 1994 13:04 |
acdmi
Messages: 4 Registered: January 1994
|
Junior Member |
|
|
I've noticed that IDL seems to treat all structures as arrays of
structures.
Example:
IDL> a={ new_structure, x : 1e0, y : 1e0 }
IDL> help, /structure, a
A STRUCT = -> Array(1)
No matter what I do, I can't get a structure that doesn't think it is part
of an array of one element. Now I do some things that require
distungishing between scalars and arrays, where structures should be
scalars. But IDL thinks all my structures are arrays of one elements. Is
this a bug in my version? Or is it a bug in IDL? Or is there some reason
why this notation is useful? (Because I have to kludge around it, it is
definitely not useful for me.)
--
"Your attention please, this train is Daniel M. Israel
being taken out of service to generally <crdmi@vulcan.giss.nasa.gov>
annoy you. Thank you for riding the Goddard Institute of Space Studies
NYC Transit Authority." 2880 Broadway, New York, NY
|
|
|