MathGroup Archive 1997

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

Search the Archive

Re: Write problem with {}

  • To: mathgroup at smc.vnet.net
  • Subject: [mg9507] Re: [mg9466] Write problem with {}
  • From: seanross at worldnet.att.net
  • Date: Sat, 8 Nov 1997 23:04:36 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

kchun wrote:
> 
> With mathematica output, I was trying to write it into file. But with {}
> character, the number was written. As an example, If I'd like to write
> 3.0123, in file the number was written in the following way.
> 
> {3.0123}
> 
> I used the funtion Write[] and >>, but the results was same. How can I
> write rightly ?

When I want to write things to a file and not have mathematica insert
commas and braces, I convert everything into a String with ToString and
write that.  I am not totally sure, but I think the braces only get
written around number typ objects or list elements.


  • Prev by Date: variable problems
  • Next by Date: Solving linear equations
  • Previous by thread: Write problem with {}
  • Next by thread: Re: Write problem with {}