MathGroup Archive 2005

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

Search the Archive

Re: Write, Put,..

  • To: mathgroup at
  • Subject: [mg62048] Re: Write, Put,..
  • From: albert <awnl at>
  • Date: Thu, 10 Nov 2005 02:50:30 -0500 (EST)
  • References: <dksdek$h6j$>
  • Sender: owner-wri-mathgroup at

Uli Würfel wrote:

> Hi there,
> I used Export to get my data into a file. But now
> I would like to write text and arrays of numbers in a more direct way.
> My problem is that everytime I call e.g. PutAppend or WriteAppend
> Mathematica starts a new line. Is it not possible to control the output
> to a file in the same way like with outstream in C++??
> I mean, e.g. to output an element of an array, and then a tab and then
> maybe a word,...

WriteString is your friend, look up chapter 2.12.3 for more information of
writing to files. You will need to use convert the expressions to strings
yourself, though...


  • Prev by Date: Re: Read a delimited text file into a mathematica
  • Next by Date: Re: Converting Rationals into Reals
  • Previous by thread: Re: Write, Put,..
  • Next by thread: Re: Write, Put,..