Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: Subscript assignment incompatibility??

  • To: mathgroup at smc.vnet.net
  • Subject: [mg71134] Re: [mg71101] Subscript assignment incompatibility??
  • From: "Chris Chiasson" <chris at chiasson.name>
  • Date: Thu, 9 Nov 2006 03:37:45 -0500 (EST)
  • References: <200611081115.GAA22454@smc.vnet.net>

You are using a special feature of Set (short form looks like = ) that
only works if the left hand side is a Symbol. Check the help browser
entry for Symbol.

On 11/8/06, kevin_jazz <kevinbowman at mac.com> wrote:
> I have another very simple problem:
> x={{1,28},{2,28}}
> Subscript[p,res]  = x
>
> x[[1]]=x[[1]]
> {1,28}
>
> Subscript[p,res][[1]] = Subscript[p,res][[1]]
>
> \!\(Set::"setps" : \ "\!\(p\_res\) in assignment of part is not a
> symbol."\)
>
> So, I can't make an assignment with a variable that has a subscript??
> What am I missing?
>
> Thanks,
>
> Kevin
>
>


-- 
http://chris.chiasson.name/


  • Prev by Date: Re: Merge of Matrices
  • Next by Date: Re: Insertion into sorted list
  • Previous by thread: Subscript assignment incompatibility??
  • Next by thread: Re: Subscript assignment incompatibility??