MathGroup Archive 1998

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

Search the Archive

Q: extra carriage returns in OutputForm[] output?

  • To: mathgroup at
  • Subject: [mg15227] Q: extra carriage returns in OutputForm[] output?
  • From: wacb at (Bill Christens-Barry)
  • Date: Wed, 23 Dec 1998 01:04:04 -0500
  • Organization: Johns Hopkins University Applied Physics Laboratory
  • Sender: owner-wri-mathgroup at

The input:

       s = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}}

followed by:


produces a text file:

     1   2   3

     4   5   6

     7   8   9

in which each row is separated by a blank line, and each element in a
row is delimited by several spaces. The blank line is produced by a
succession of two carriage returns at the end of each row.

I would prefer to have a simple tab-delimited file, in which elements
within a row are separated by tabs, and each row is separated by a
single carriage return.

How can I achieve this?  Please give a simple example if a simple
solution exists.


Bill Christens-Barry

  • Prev by Date: Re: strange function that defines a function---how do I do it?
  • Next by Date: Re: Re: Compile and NormalDistribution
  • Previous by thread: Launching a front end notebook from a Kernel (mathlink & Borland C++) (fwd)
  • Next by thread: Rotating Figures