MathGroup Archive 2009

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

Search the Archive

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

  • To: mathgroup at smc.vnet.net
  • Subject: [mg99948] Re: How to change name of the file in a Do loop
  • From: dh <dh at metrohm.com>
  • Date: Wed, 20 May 2009 04:57:13 -0400 (EDT)
  • References: <guu2e3$675$1@smc.vnet.net>


Hi,

try e.g.:

Do[

  Print["Prefix" <> ToString[i]]

  , {i, 3}]

Daniel





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

> 

> 




  • Prev by Date: SQLServerLaunch
  • Next by Date: Re: How to change name of the file in a Do loop
  • Previous by thread: 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