MathGroup Archive 1999

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

Search the Archive

Save print in textfile

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

Hallo,

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

sample: aab
___________________________________
conditions: 34
___________________________________

This output I want to have in the file "textfile.txt" in the directory
C:\temp.
Thank you
                            Witold
wgrebe at cityweb.de



  • 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