Re: Open Write?
- To: mathgroup at smc.vnet.net
- Subject: [mg30926] Re: Open Write?
- From: "Diego Martin Martin" <diego at ies-def.upm.es>
- Date: Thu, 27 Sep 2001 02:16:43 -0400 (EDT)
- References: <9omhqc$nlo$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi!. Try the next code:
Values = Table[x^2, {x, 0, 1, .1}];
Export["c:\values.txt", Values, "Table"]
This will generate an ASCII file with the values you want in a column in
c:\.
Hoping to help you,
Diego.
> 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.
>
>