RE: a[[2]][[3]] = 1 error? why?
- To: mathgroup at smc.vnet.net
 - Subject: [mg8901] RE: [mg8874] a[[2]][[3]] = 1 error? why?
 - From: Jean-Marie THOMAS <jmthomas at cybercable.tm.fr>
 - Date: Thu, 2 Oct 1997 22:56:53 -0400
 - Sender: owner-wri-mathgroup at wolfram.com
 
You cannot assign a value to something that has already got one.
Use=20
a/.a[[2]][[3]]->3
-------------------------------------------------------------------------=
------------------
Jean-Marie THOMAS
Conseil et Audit en Ing=E9nierie de Calcul
Strasbourg, France
phone 03 88 32 93 64
email jmthomas at cybercable.tm.fr
web www.cybercable.tm.fr/~jmthomas
-------------------------------------------------------------------------=
------------------
-----Original Message-----
From:	charles loboz [SMTP:charles at syacus.acus.oz.au]
To: mathgroup at smc.vnet.net
Sent:	mercredi 1 octobre 1997 02:17
To:	mathgroup at smc.vnet.net
Subject:	[mg8874] a[[2]][[3]] =3D 1 error? why?
a=3DTable[i*j,{i,1,3},{j,1,3}];
a[[2]][[3]]
answer : 6 (as it should be)
so why assignment to=20
a[[2]][[3]] =3D 3
doesn't work?