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

Home » Public Forums » archive » Any ideas on how to make an array of assoc variables?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Any ideas on how to make an array of assoc variables? [message #19] Thu, 28 February 1991 08:00
plonski is currently offline  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.
____________________________________________________________ ___________________
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: contouring an (r,theta) grid
Next Topic: NCAR graphics <-> PV-WAVE/IDL

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

Current Time: Sun Nov 30 21:35:18 PST 2025

Total time taken to generate the page: 0.02010 seconds