I wrote a c routine to 'and' to integers. I defined a function the defined
the '&' operator. So now I can do the following:
where (int_field & int_mask) <> 0 ....
I turned out to be much easier that I expected. If anyone is interested in
this or possibly other function/operators let me know.