MathGroup Archive 2001

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

Search the Archive

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.
>
>



  • Prev by Date: Re: Open Write?
  • Next by Date: checking for a particular value in a matrix
  • Previous by thread: Re: Open Write?
  • Next by thread: Re: Open Write?