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

Home » Public Forums » archive » Array of associated 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
Array of associated variables? [message #42286] Thu, 20 January 2005 02:23
sso is currently offline  sso
Messages: 13
Registered: February 2002
Junior Member
A brief question: Is it in some way or another possible to make an
array of associated variables? The examples below don't work but
perhaps there is some other way?

-------
for i=1,n do begin
a=assoc(...)
if n_elements(all) le 0 then all=[a] else all=[all,a]
endfor
-------
a=assoc(...)
all=replicate(a,n)
-------

Thanks for any help
Sverre Solberg
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: MAKE_DLL for DLMs
Next Topic: AVI, MPEG, QT reading, writing and preprocessing

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

Current Time: Wed Oct 08 18:38:47 PDT 2025

Total time taken to generate the page: 0.00513 seconds