Delete Duplicate Data in Coll

Jul 6, 2010 at 12:26pm

Delete Duplicate Data in Coll

Thought I’d chuck this on the forum before I lend my full attention to it.

Is there an easy way to delete duplicate data in a coll object?

For example,

0, 50
1, 55
2, 55
3, 67

Becomes…

0, 50
1, 55
2, 67

#51246
Jul 6, 2010 at 1:26pm

this should work if your indices and data are ints

– Pasted Max Patch, click to expand. –
#183787
Jul 6, 2010 at 4:15pm

Thanks Terry, that’s perfect.

#183788
Jul 15, 2012 at 6:02pm

Thx Terry

That helped me a lot. I made a version which also works for duplicate symbol entries (toascii obejct needed) and an alternative for sorting numbers.

– Pasted Max Patch, click to expand. –
#183789

You must be logged in to reply to this topic.