MathGroup Archive 2007

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

Search the Archive

Re: question about For


Look up Table.

Bobby

On Mon, 10 Dec 2007 19:43:11 -0600, Ary Adilson Morales Alvarado  
<amorales at lme.usp.br> wrote:

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



-- 

DrMajorBob at bigfoot.com


  • Prev by Date: Re: Plotting of Sin(x)/x
  • Next by Date: Re: Re: Binary Vector Manipulation
  • Previous by thread: Re: question about For
  • Next by thread: OPTIMIZATION: nonlinear regression analysis with mathematica