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

Home » Public Forums » archive » simple query: including loop variable in filename?
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
simple query: including loop variable in filename? [message #55910] Fri, 14 September 2007 03:34
id6684 is currently offline  id6684
Messages: 3
Registered: August 2007
Junior Member
Hello Folks,

I'm stranded with server downtime (thankfully with net access!) and
looking to prepare a start on some IDL; can someone tell me please if
it's possible to include from a FOR loop the variable we are looping
over in the filename of some kind of file?

eg;

FOR i=0,1 DO BEGIN
device, filename='i.jpg'
plot_image, A
ENDFOR

so that I can produce filenames 0,1,2..etc.

Thanks,

David.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: insufficient system resources
Next Topic: Re: simple query: including loop variable in filename?

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

Current Time: Wed Oct 08 15:54:07 PDT 2025

Total time taken to generate the page: 0.05463 seconds