You could try using the unique function
For example, this will weed out all duplicate via names from a list:
via_name_list = unique(sort( via_name_list 'alphalessp))
A more-generic-but-trickier method involves using a foreach loop and the member funtion.
Someting like:
ulist = nil
foreach( obj obj_list
unless( member( obj ulist)
ulist = cons( obj ulist)
);end-unless
);end-foreach
HTH,
Chris Walters
local Cadence guru
()
PS - anyone know of a position for a(nother) Cadence guru?
Originally posted in cdnusers.org by kerchunk