How can I find out if an entry exists in coll?

Lee's icon

Hi, I need to find out whether an entry exists in a coll so I can do processing depending on whether a value has been stored or not, but can't seem to find any obvious way of getting this.

Any idea?

thxL

yp's icon

This might not be the most obvious way.. but it works :)
btw - you could get much more information from [zl sub] if you'd like to. (i.e. the number of occurrences of the value in the coll, the position of each occurrence)

Max Patch
Copy patch and select New From Clipboard in Max.

HTH

Lee's icon

Thanks for the reply, and the patch :)

Fairly new to MAX so still getting my head round some of the concepts, much appreciated.

L