MathGroup Archive 2003

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

Search the Archive

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


  • Prev by Date: How to stop a kerne calculationl without stopping the frontend
  • Next by Date: Re: Suggestion: Visualization of complex functions with Mathematica
  • Previous by thread: Re: list of file names
  • Next by thread: Re: list of file names