MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Question about filenames for Export[...]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg99742] Question about filenames for Export[...]
  • From: "Lorents" <fdsa at ff.gr>
  • Date: Tue, 12 May 2009 05:44:56 -0400 (EDT)

Hello,
I'm using Mathematica 6.
I'd like to know how to define a file name (to be later used in Export) so 
that the file name contains the value of an index variable i.
To exemplify, in Fortran this task would be accomplished by something like:

character(len) :: FileName
...
write(FileName,'(A,I4.4)') 'MyName', i

These lines would produce filenames which, for i=1,2,... are MyName0001, 
MyName0002, ...

Is there any neat way of doing the same with Mathematica?

Lorenzo 




  • Prev by Date: Re: Graph with 3 variables
  • Next by Date: export Disdyakis Dodecahedron to 3D model (maya)
  • Previous by thread: speedup NDSolve for system of ODEs
  • Next by thread: Re: Question about filenames for Export[...]