Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2003
*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 2003

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

Search the Archive

Conclusion: Mathematica will output plain text

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39853] Conclusion: Mathematica will output plain text
  • From: carlos at colorado.edu (Carlos Felippa)
  • Date: Sat, 8 Mar 2003 02:52:27 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Thanks to all people who replied to me privately.  The
use of TextForm, as suggested by David Park, seems to be 
closest to what I want:

  TextForm["hello, world"]>>textfile

writes exactly 12 visible characters on the file.

For Print[TextForm["hello, world"]] a Save Selection
-> Plain Text works the same way.

I could not find TextForm in my Mac/Mathematica 4.2.1 
help file (wish I had; in fact I searched for PlainTextForm 
PlainForm, etc.,  before the OP).  I wonder if it
appears in the helpfile for other machines, or is an 
undocumented/experimental feature.

Carlos Felippa


  • Prev by Date: Re: Problem for exponent and indice
  • Next by Date: AW: type casting
  • Previous by thread: Re: Help with FindRoot
  • Next by thread: Re: Conclusion: Mathematica will output plain text