MathGroup Archive 2003

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

Search the Archive

how come ?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg41115] how come ?
  • From: phuongdt at writeme.com (Phuong)
  • Date: Sat, 3 May 2003 03:30:09 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi everybody,

I am a newbie in Mathematica and began programming with it. Could
anyone explain this problem to me ?

why mathematica can't deal with 

l={{1,2,3},{2,4,5}}

l[[1]][[2]]=3

and here is its error message :
Set::"setps": "\!\(l \[LeftDoubleBracket] 1 \[RightDoubleBracket]\) in
\
assignment of part is not a symbol."

but it can with

Part[l,1,2]=3



  • Prev by Date: Re: A FullSimplify Problem
  • Next by Date: differentiating evently sampled data
  • Previous by thread: StatGIS03 - Workshop
  • Next by thread: Re: how come ?