MathGroup Archive 2007

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

Search the Archive

Re: change filename automatically in Export Command

  • To: mathgroup at smc.vnet.net
  • Subject: [mg73855] Re: change filename automatically in Export Command
  • From: Martin Schoenecker <ms_usenet at gmx.de>
  • Date: Fri, 2 Mar 2007 06:28:18 -0500 (EST)
  • Organization: Technische Universitaet Darmstadt
  • References: <es6df0$s3h$1@smc.vnet.net>

> Does anybody know how to change the name of the file with a Do loop in the =
> Export comand
> i need to change filename by hand is there a way of doing it automatically=

You may concatenate strings to build up the filename (<> of StringJoin), 
and use a string corresponding to the iterator (using ToString).

Martin


Do[
   filename="name"<>ToString[i];Print[filename],
   {i,10}
   ]


  • Prev by Date: Parse results from Solve
  • Next by Date: Bug with Limit?
  • Previous by thread: Re: change filename automatically in Export Command
  • Next by thread: Re: change filename automatically in Export Command