MathGroup Archive 2009

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

Search the Archive

Re: Assigning Values to Many Symbols at Once

  • To: mathgroup at smc.vnet.net
  • Subject: [mg101702] Re: Assigning Values to Many Symbols at Once
  • From: Armand Tamzarian <mike.honeychurch at gmail.com>
  • Date: Wed, 15 Jul 2009 07:06:18 -0400 (EDT)
  • References: <h3hq0s$5b5$1@smc.vnet.net>

On Jul 14, 6:26 am, Gregory Lypny <gregory.ly... at videotron.ca> wrote:
> Hello everyone,
>
> I can create a bunch of symbols on the fly using the Symbol command,  
> as in
>
>         Table[Symbol["x" <> ToString[i]], {i, 5}]
>
> to get
>
>         {x1,x2,x3,x4,x5}
>
> But how can I assign values to these all at once?
>
> Regards,
>
>         Gregory

{x1,x2,x3,x4,x5}={1,"hello world", 0.678, 1/2, Pi}

Mike


  • Prev by Date: inputing nothing in a manipulate box
  • Next by Date: Re: Assigning Values to Many Symbols at Once
  • Previous by thread: Re: Assigning Values to Many Symbols at Once
  • Next by thread: Re: Assigning Values to Many Symbols at Once