>Ok, now, this way is very hard, because i need know the exact bit position for each propiertie, then a look a best solution...
No, each property is a power of two; so to use the example of a setting of 234 and a mask of 128:
? bitand(234,128)
IF BITAND(value,
compareconstant) =
compareconstantIt helps to RTFM once in a while.