Diff two lists

Discussion in 'Cadence' started by eric.d.fitzsimmons, May 14, 2009.

  1. Hi all,

    If I have to lists built in skill, is there a function to do a
    diff. By that I mean a diff like one can do in unix with the diff
    command or tkdiff.

    Thank you in advance,
    Eric
     
    eric.d.fitzsimmons, May 14, 2009
    #1
  2. eric.d.fitzsimmons

    KB.How Guest

    Hi Eric,

    If i'm not mistaken, there is no function in SKILL which able user to
    tkdiff /diff between 2 list.

    But you can use this to return items in list 2 which is not in list 1
    and vice versa

    diffList = setof(x dataList_1 !member(x dataList_2))

    Hoping it helps
     
    KB.How, May 15, 2009
    #2
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.