Re: list of file names
- To: mathgroup at smc.vnet.net
- Subject: [mg44855] Re: list of file names
- From: Marcus Stollsteimer <marcus314 at yahoo.com>
- Date: Thu, 4 Dec 2003 03:04:13 -0500 (EST)
- Organization: Comp.Center (RUS), U of Stuttgart, FRG
- References: <bqkb9o$hlr$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
digits = 2;
fn[i_/; 0<=i && i<10^digits]:=
"root"<>StringJoin[ToString/@IntegerDigits[i,10,digits]]<>".dat";
Do[Print[fn[i]], {i, 0, 15}];
Marcus
Flurchick, Kenneth M wrote:
> I want to create a list of file names
> rootXXX.dat
> where XXX is an integer fixed width
--
God is silent.[] Now if we can only get Man to shut up. -- W. Allen