Re: How to change name of the file in a Do loop
- To: mathgroup at smc.vnet.net
- Subject: [mg99946] Re: How to change name of the file in a Do loop
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 20 May 2009 04:56:51 -0400 (EDT)
- Organization: Uni Leipzig
- References: <guu2e3$675$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
Do[
filename="thisIsFile"<>ToString[i]<>".dat";
Print[filename],
{i,0,100000000}
]
lautaro.vergara 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 changes within the Do loop?
>
> Thanks in advance.
>
> Best regards,
>
> Lautaro Vergara
>
>