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

Home » Public Forums » archive » IDL Structures
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDL Structures [message #1694] Thu, 10 February 1994 13:04
acdmi is currently offline  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
[Message index]
 
Read Message
Previous Topic: Bug report for routine AVG in WAVE CL V4.2 WAVE Advantage 1.0
Next Topic: Spherical shells in PV-Wave

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

Current Time: Sat Oct 11 16:37:18 PDT 2025

Total time taken to generate the page: 0.16200 seconds