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

Home » Public Forums » archive » Re: Creating files
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 files [message #81166 is a reply to message #81165] Thu, 23 August 2012 10:55 Go to previous message
Jim  Pendleton is currently offline  Jim Pendleton
Messages: 165
Registered: November 2011
Senior Member
On Thursday, August 23, 2012 11:38:51 AM UTC-6, Jordan Guerra wrote:
> Hi,
>
>
>
> I want to create a sequence of files in the form 0001.idlsav, 0002.idlsav ... 4000.idlsav; each one correspond to a different i in a for loop, but I don't know how to convert the interger 1 into a string in the form 0001, for example.
>
> Any ideas?
>
> Thanks!

Use the format (I4.4) when building your file name string.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Creating files
Next Topic: Appending to Shapefile Woes

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

Current Time: Fri Oct 10 15:11:56 PDT 2025

Total time taken to generate the page: 1.27674 seconds