picking random numbers that are not the same URGENT

Apr 13, 2011 at 1:46am

picking random numbers that are not the same URGENT

Hi, I’m trying to pick out 2 or 3 random numbers that are not the same. I think I have to us an urn for it, but im not sure how to make it pick and separate those three numbers to use elsewhere.

basically, one bang, spitting out three random numbers that are not them same into integer boxes.

please help! project is due tomorrow and I cant seem to wrap my brain around how to do this.

#56285
Apr 13, 2011 at 2:22am

I don’t really get what you are attempting here.

You mean something like this?

– Pasted Max Patch, click to expand. –
#201961
Apr 13, 2011 at 4:00am

or this, if I am reading you correctly:

you could also use [t b b b] instead of [uzi 3]…

– Pasted Max Patch, click to expand. –
#201962
Apr 13, 2011 at 6:10am

yes perfect! thank you soooo much, now i can get on with the rest of the patch!

#201963

You must be logged in to reply to this topic.