MathGroup Archive 2007

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

Search the Archive

question about For

  • To: mathgroup at
  • Subject: [mg84119] question about For
  • From: "Ary Adilson Morales Alvarado" <amorales at>
  • Date: Mon, 10 Dec 2007 20:43:11 -0500 (EST)

Dear friends,

I would like to know how to save the data from a For loop.

Something like that:

t=For[i = 1, i < 5, Print[i]; i++]

t={1, 2, 3, 4}

Thanks in advance


This message was scanned for spam and viruses by BitDefender.
For more information please visit

  • Prev by Date: Re: Precedence of Infix Operator
  • Next by Date: OPTIMIZATION: nonlinear regression analysis with mathematica
  • Previous by thread: Bug in Print
  • Next by thread: Re: question about For