MathGroup Archive 2007

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

Search the Archive

Re: question about For

  • To: mathgroup at smc.vnet.net
  • Subject: [mg84166] Re: [mg84119] question about For
  • From: DrMajorBob <drmajorbob at bigfoot.com>
  • Date: Wed, 12 Dec 2007 05:11:40 -0500 (EST)
  • References: <9640409.1197425936988.JavaMail.root@m35>
  • Reply-to: drmajorbob at bigfoot.com

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