Re: How to export txt files with variable name &

*To*: mathgroup at smc.vnet.net*Subject*: [mg72585] Re: [mg72559] How to export txt files with variable name &*From*: Murray Eisenberg <murray at math.umass.edu>*Date*: Wed, 10 Jan 2007 03:27:09 -0500 (EST)*Organization*: Mathematics & Statistics, Univ. of Mass./Amherst*References*: <200701091213.HAA21231@smc.vnet.net>*Reply-to*: murray at math.umass.edu

StringJoin["Coord_", ToString[n], ".txt"] Cham wrote: > I need to use the operation > > D0[Export["Coord_n.txt", Coord[n], "Table"], {n, 0, 3}] > > with a variable name. I want Mathematica to write down several files with names likes this (as much names as there are values for the variable "n") : > > Coord_0.txt, Coord_1.txt, Coord_2.txt, Coord_3.txt > > How can I do that ? > -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305

**References**:**How to export txt files with variable name &***From:*Cham <martin465@sympatico.ca>