Home »
Public Forums »
archive »
Any ideas on how to make an array of assoc variables?
| Any ideas on how to make an array of assoc variables? [message #19] |
Thu, 28 February 1991 08:00 |
plonski
Messages: 7 Registered: February 1991
|
Junior Member |
|
|
My problem:
How do I use assoc variables to handle ~50 files simultaneously.
IDL does not allow one to make an array of assoc variables
or to bury assoc variables inside a structure definition.
This requires that each assoc variable be individually named,
which means NO for loops or other automated techniques.
The only solution I have been able to come up with is ugly
and is based on automatically generating strings for variable
names (like a1, a2,...) and then using the execute command
to assoc and operate on these string names as variables.
There must be a better way
Glad to see that there is finally some traffic on this newsgroup.
------------------------------------------------------------ -------------------
. . .__. The opinions expressed herein are soley
|\./| !__! Michael Plonski those of the author and do not represent
| | | "plonski@aero.org" those of The Aerospace Corporation.
____________________________________________________________ ___________________
|
|
|
|
Current Time: Sun Nov 30 21:35:18 PST 2025
Total time taken to generate the page: 0.02010 seconds