MathGroup Archive 2000

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

Search the Archive

Re: read/write numbered files

  • To: mathgroup at smc.vnet.net
  • Subject: [mg23459] Re: read/write numbered files
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Thu, 11 May 2000 00:54:10 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <8fb2l1$i13@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

this write 40 empty eps files:

gr=Table[Graphics[{}]],{i,1,40}]

Do[
  Export["someeps"<ToString[i]<>".eps",gr[[i]],"EPS"],
  {i,1,40}
] 

Regards
  Jens

francesco siano wrote:
> 
> Hi all, is there a way to open/write files named
> file1.dat, file2.dat, ...file40.dat  within a Do loop or something like
> that ?
> Next step would be to do the same with file11.dat, file12.dat,
> ...file21.dat, ...
> Any help would be appreciated. Thanks.
> -Francesco Siano


  • Prev by Date: Re: contours
  • Next by Date: Re: Starting Mathematica kernal from external programs
  • Previous by thread: Re: read/write numbered files
  • Next by thread: Re: read/write numbered files