MathGroup Archive 2008

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

Search the Archive

Set::setps problems

  • To: mathgroup at smc.vnet.net
  • Subject: [mg90251] Set::setps problems
  • From: "Kazimierz Łakomy" <kazik.lakomy at gmail.com>
  • Date: Thu, 3 Jul 2008 06:12:58 -0400 (EDT)

Hi all,
I found troubles with such a loop:

T = Table[{s, 0}, {s, -Pi, Pi, step}];

For[i = 1, i <= Length[UU], i += 1,
  UU[[i]][[2]] += 5];

(it's just the example of some general idea of changing values of
table's elements inside a loop)

And Mathematica returned:

Set::setps: UU[[i]] in the part assignment is not a symbol. >>
Set::setps: UU[[i]] in the part assignment is not a symbol. >>
Set::setps: UU[[i]] in the part assignment is not a symbol. >>
General::stop: Further output of Set::setps will be suppressed during \
this calculation. >>

I would be very grateful if someone helped me with the issue.
Thank you in advance.
-- 
Cheers,
Kazik


  • Prev by Date: Re: Problem with parametric minimization
  • Next by Date: Re: Happy Birthday Mathematica!
  • Previous by thread: Re: Anomaly? or at least a surprise.
  • Next by thread: Re: Set::setps problems