Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

output form



Hi:
	I have a question related to the output format. Say I have a table like
v={{-16.2791, -84.7242}, {-15.7936, -82.7819}, {-15.308, -80.8396}}

I use the following code to write them into a file called "fileout.dat".


stmp=OpenWrite["fileout.dat",FormatType -> OutputForm];
Write[stmp,TableForm[v]];
Close[stmp];

I got something like
===============================
-16.2791    -84.7242

-15.7936    -82.7819

-15.308     -80.8396
===============================

with blanck lines between each entry instead of
===============================
-16.2791    -84.7242
-15.7936    -82.7819
-15.308     -80.8396
===============================

How do I get rid of the blank lines in between? Thanks.

Chihsuan
-- 

-------------------------------------------------------------------------
| Chi-hsuan Lai, Dept of Physics * e-mail: !lai@utpapa.ph.utexas.edu!  
| 



  • Prev by Date: Integrate[Exp[-(1-x)^2]/Sqrt[x],{x,0,Infinity}]
  • Next by Date: Diamond Video card problems?
  • Prev by thread: Re: Integrate[Exp[-(1-x)^2]/Sqrt[x],{x,0,Infinity}]
  • Next by thread: Re: output form