Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: Writing result of "Do" in a single List

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55512] Re: Writing result of "Do" in a single List
  • From: "Robert G. Wilson v" <rgwv at rgwv.com>
  • Date: Sun, 27 Mar 2005 02:42:45 -0500 (EST)
  • References: <d1ed1u$f0e$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Dear Sir,

	A solution that I use is:

lst = {}; Do[ AppendTo[ lst, expr], {i, to limit}]; lst

Sincerely yours,

Bob.


Laurent Feuz wrote:

> Hi
> When I am calculating values with the
> Do[expr, {i, imin, imax, di}]
> expression, I get single values as a result that are a pain to export.
> 
> How can I write these values in a list that then can easily be exported?
> 
> Thanks for any hints!
> best
> Laurent
> 


  • Prev by Date: Re: Unicode Support
  • Next by Date: Re: numerical solutions to two non algebraic equations.
  • Previous by thread: Re: Writing result of "Do" in a single List
  • Next by thread: Re: Re: Writing result of "Do" in a single List