[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cell Arrays
- Subject: Re: Cell Arrays
- From: davidf(at)dfanning.com (David Fanning)
- Date: Mon, 10 Jul 2000 09:34:48 -0600
- Newsgroups: comp.lang.idl-pvwave
- Organization: Fanning Software Consulting
- References: <3969eaa3$1@oit.umass.edu>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:20171
Joe Regensburger (jjr@physics.umass.edu) writes:
> Some programs have objects which can store multiple data types in a single
> array. So theoretically I can store numerical arrays of differing length
> inside a cell of another array. I was wondering if it is at all possible in
> IDL?
*Everything* is possible with IDL. (Or so I'm told. I can't
see how it ever improved my backhand, however.)
I should think a pointer array, with each pointer pointing
to a numerical array of various lengths should do the trick.
Interestingly enough, this requirement was what pushed me
to use unrealized base widgets as pointers all those many
years ago. I had an array of unrealized base widgets, each
with a numerical array of a different size stored in the
user value. *Very* chic in those days. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155