Forums > MaxMSP

Delete Duplicate Data in Coll

July 6, 2010 | 12:26 pm

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


July 6, 2010 | 1:26 pm

this should work if your indices and data are ints

– Pasted Max Patch, click to expand. –

July 6, 2010 | 4:15 pm

Thanks Terry, that’s perfect.


July 15, 2012 | 6:02 pm

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. –

Viewing 4 posts - 1 through 4 (of 4 total)