MathGroup Archive 2009

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

Search the Archive

Re: How to change name of the file in a Do loop


On May 19, 5:42 am, lautaro.verg... at usach.cl wrote:
> Dear People:
>
> Can someone help me with the following?
>
> Within a Do loop I want tables to be written with different names in .dat=
 files. Does anyone knows how to make that the name of the .dat file change=
s within the Do loop?
>
> Thanks in advance.
>
> Best regards,
>
> Lautaro Vergara

Do[result = Table[x^i, {4}];  Export["file" <> ToString[i] <> ".dat",
result], {i, 3}]


  • Prev by Date: Re: How to change name of the file in a Do loop
  • Next by Date: Re: Wolfram|Alpha Lookup Tool for Mathematica
  • Previous by thread: Re: How to change name of the file in a Do loop
  • Next by thread: Re: How to change name of the file in a Do loop