Re "list assignment problem"
- To: mathgroup@smc.vnet.net
- Subject: [mg12562] Re "list assignment problem"
- From: erra@esiea.fr (Robert ERRA)
- Date: Sat, 23 May 1998 18:11:22 -0400
- Organization: The Math Forum
- References: <6jf5l1$47a@smc.vnet.net>
Hello,
I've tried your example and effectively you can't do that, I didn't know
this, but you can use ReplacePart:
jlist={{1,2},{3,4} };
jlist=ReplacePart[jlist,6,{1,2}];
jlist
which gives
{{1,6},{3,4} }.
Hope it helps
Robert ERRA.