MathGroup Archive 1998

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

Search the Archive

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.




  • Prev by Date: Re: factor
  • Next by Date: Re: BEEP
  • Prev by thread: Labelling a 3D plot
  • Next by thread: Run Math away from host Mac?