XML Feeds

.

[maxmsp] "if and only if" statement

v1025kernel v1025kernel at gmail.com
Thu May 29 09:32:12 MDT 2008


I'm trying to write an if and only if statement to trigger a button.  I have three random values coming in and I want the button to turn on only if the three values are present at the same time.

Example: 
Random Number: 1-10, 
Button On: 3,6,7 or 3,7,6 or 6,3,7 or 6,7,3 or 7,6,3 or 7,3,6.  
NOT when just a 3, or 6, or 7 is present [which is what's happening now]

I'm trying to use the if command with &&, but I don't think it's working.

Thanks for any help.


More information about the maxmsp mailing list