MathGroup Archive 2006

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

Search the Archive

Re: Printing Lists to file without {}

  • To: mathgroup at smc.vnet.net
  • Subject: [mg66013] Re: Printing Lists to file without {}
  • From: "Borut Levart" <BoLe79 at gmail.com>
  • Date: Thu, 27 Apr 2006 02:25:55 -0400 (EDT)
  • References: <e2nd5f$34e$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

You know, you could write each value on its own line. This represents a
similar data structure to your list without "{ and }".
To do this, simply map your Write on each element from Take:

Write[output, #]& /@ Take[ao, {1, 100}];

Mind that the output stream should also be properly closed:

Close[output]


Bye!
Borut Levart
Slovenia


  • Prev by Date: Re: Setting up equations
  • Next by Date: DiscreteMath question : ToAdjacencyMatrix and FromAdjacencyMatrix
  • Previous by thread: Re: Printing Lists to file without {}
  • Next by thread: Re: Printing Lists to file without {}