Re: Open Write?
- To: mathgroup at smc.vnet.net
- Subject: [mg30919] Re: Open Write?
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Thu, 27 Sep 2001 02:16:36 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <9omhqc$nlo$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, stream = OpenWrite["/export/home/kuska/tmp/values.txt"] Do[ Write[stream, x^2], {x, 0, 1, 1/10}] Close[stream] Regards Jens Moranresearch at aol.com wrote: > > Here is a simple loop that generates values. > Do[Print[x^2], {x, 0, 1, .1}] > How can I write these values to a file eg. Values.txt? The Print command is > not necessary. > Thank you.