Replace an element of a list

M

manell15

Guest
Hello,
I want to khnow how can I replace an element of a list with another
element if I khnow the position of the element that I want to change.
for example:
f=( 11 2 3 6)
I want to replace 2 by 5
f=(11 5 3 6)
Could you please help me.
Thanks.
 
see
http://groups.google.com/group/comp.cad.cadence/browse_thread/thread/e11055d0c1ee4e4/415975f03046232c


Stéphane

manell15 wrote:
Hello,
I want to khnow how can I replace an element of a list with another
element if I khnow the position of the element that I want to change.
for example:
f=( 11 2 3 6)
I want to replace 2 by 5
f=(11 5 3 6)
Could you please help me.
Thanks.
 

Welcome to EDABoard.com

Sponsor

Back
Top