Replace an element of a list

Discussion in 'Cadence' started by manell15, Aug 13, 2008.

  1. manell15

    manell15 Guest

    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.
    manell15, Aug 13, 2008
  2. manell15

    S. Badel Guest

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.