MathGroup Archive 2013

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

Search the Archive

Re: problem with append

  • To: mathgroup at smc.vnet.net
  • Subject: [mg129542] Re: problem with append
  • From: christopher arthur <chris.arthur1 at gmail.com>
  • Date: Mon, 21 Jan 2013 00:11:02 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <20130120062148.0CB436854@smc.vnet.net>
  • Reply-to: chris.arthur1 at gmail.com

maybe this is what you want

rr={};
For[a = 2, a < 6, a++,
 	For[b = 2, b < 6, b++,
  rr = Appendto[rr, a^b]]]
rr




Paolo cachecho a écrit :
> hello i am new to mathmatica.i have the following problem if anyone could help.
>
> For[a = 2, a < 6, a++,
>  	For[b = 2, b < 6, b++,
>   Appendto[rr = {}, a^b]]]
> rr
>
> but rr remains empty. how can i solve this
> thank you
>
>
>   




  • Prev by Date: Re: Saving mov in v9
  • Next by Date: Re: problem with append
  • Previous by thread: Re: problem with append
  • Next by thread: Re: problem with append