Checking against interesting numbers

Checking against interesting numbers Mercutio Wed, 2012-03-21 11:49

Let's say you have a list of 8 numbers. And you want a boolean returned... because all numbers must resolve:

eq(bound(%0,128,255),%0)

With other words:

128 128 128 251 128 128 204 255 --> 1
128 128 128 312 128 128 204 255 --> 0

How would you go about doing this?

Sketch offers the bit function:

lmath(band,128 %0)

How would you do this?