MathGroup Archive 2001

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

Search the Archive

Re: Open Write?

  • To: mathgroup at
  • Subject: [mg30926] Re: Open Write?
  • From: "Diego Martin Martin" <diego at>
  • Date: Thu, 27 Sep 2001 02:16:43 -0400 (EDT)
  • References: <9omhqc$nlo$>
  • Sender: owner-wri-mathgroup at

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 

Hoping to help you,


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