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

Home » Public Forums » archive » Re: creating variables in a FOR loop
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: creating variables in a FOR loop [message #79107] Thu, 02 February 2012 12:12 Go to previous message
JDS is currently offline  JDS
Messages: 94
Registered: March 2009
Member
If you really have a good reason for doing this (and I concur with David that it's probably not what you want), you can:

(scope_varfetch('im_'+strtrim(temp,2),/ENTER) = mrdfits(files[i],0,h)

This is preferable to using EXECUTE, as it will still work in the IDLVM (and is faster).

JD
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Coyote Library Update
Next Topic: ANOVA statistical analysis with IDL

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

Current Time: Wed Oct 08 15:20:27 PDT 2025

Total time taken to generate the page: 0.00382 seconds