MathGroup Archive 1999

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

Search the Archive

Protected element error

  • To: mathgroup at smc.vnet.net
  • Subject: [mg17229] Protected element error
  • From: Kristen Rounds <krounds at accessone.com>
  • Date: Fri, 30 Apr 1999 02:34:29 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Early in my program I define a 4x4 matrix:

A1x:=M.b1x.Transpose[M];

Later I wish to allow the user to modify a matrix element:

If[StringMatchQ[terma,"a33",IgnoreCase->True],
"A"<>sur<>"x"[1,1]=Input["New a33 x value"]];

I am getting this error when I try to use the new A1x matrix:

SetDelayed::write: Tag StringJoin in A<>1<>x is Protected.

I tried to use Unprotect[A1x]; prior to the new input, but that
doesn't seem to make a difference.

Please explain this error, and if there is a way to avoid it.  Thanks.

Kristen




  • Prev by Date: Re: infuriating Series[] question
  • Next by Date: CleanSlate and Version 3
  • Previous by thread: Protected element error
  • Next by thread: RE: Protected element error