HELP FOR DEBUGGING IF STATEMENT

Apr 1, 2011 at 2:14am

HELP FOR DEBUGGING IF STATEMENT

– Pasted Max Patch, click to expand. –

can someone help me debugging this if statement expression for if max object?

#55802
Apr 1, 2011 at 2:48am

I’d recommend avoiding [if] for these longer number matching type statements and instead use a table, funbuff or coll.

-Ben

#200633
Apr 1, 2011 at 2:58am
– Pasted Max Patch, click to expand. –
#200634
Apr 1, 2011 at 3:40am

I would use coll for this:

– Pasted Max Patch, click to expand. –
#200635
Apr 1, 2011 at 12:23pm

thank you both ben and chris..
in fact I had not realize how to subverse the coll in terms of giving it one element of a list and detecting which position it had on the list.. so ben, this exactly what I was looking for.. chris.. I appreciate your help.. but unfortunately it doesn’t work for me, because you are returning the elements from the list position and it’s exactly the opposite that I wanna do.. anyway thank you both.. this has been really helpful

#200636
Apr 1, 2011 at 12:25pm

sorry in fact it seems to work.. that you both.. It’s appreciated

#200637

You must be logged in to reply to this topic.