MathGroup Archive 1999

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

Search the Archive

Save print in textfile

  • To: mathgroup at
  • Subject: [mg15528] Save print in textfile
  • From: "wgrebe" <wgrebe at>
  • Date: Mon, 18 Jan 1999 23:47:27 -0500
  • Sender: owner-wri-mathgroup at


I want to save the result of a series of Print commands in a textfile.
For example:
Print["sample: ",name];
Print["___________________________________"]; Print[" conditions: "
Print["___________________________________"]; ];
results in the output:

sample: aab
conditions: 34

This output I want to have in the file "textfile.txt" in the directory
Thank you
wgrebe at

  • Prev by Date: Reading file with <<
  • Next by Date: Axis breaks
  • Previous by thread: Reading file with <<
  • Next by thread: Re: Save print in textfile