MathGroup Archive 1998

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

Search the Archive

Outputting Strings to a file


I am trying to output text to a file.  My data is in an array such as:

{1,"AL",0.500000,0.500000,0.500000,0.300000,1.000000}

or 

{"Line One","Line Two"}

The program that is going to read the output file doesn't want the
quotes or the commas.

I want the final file to look like:

Line One
Line Two
1 Al 0.500000 0.500000 0.500000 0.300000 1.000000

How do I get Mathematica to output text without the quotes?  If I can
get that I'm pretty sure I can get the numbers and spacing correct.

I'm running Mathmatica 3.0 on a powermac if that is important.

Thanks for any help.

-- 
Tom Murray

     I believe in what I see
     I believe in what I hear
     I believe that what I'm feeling
     Changes how the world appears 

     Rush - "TOTEM" - Test For Echo


  • Prev by Date: Re: Nonlinear Differential Equation
  • Next by Date: Free Rubiks cube package
  • Previous by thread: Re: roots of BesselJPrimes
  • Next by thread: Re: Outputting Strings to a file