Have you tried the 'number to boolean array' function?
(Functions pallette - Boolean - Number to boolean array).
You can then individually test each bit as you need.
Hope I haven't misinterpreted the question..
Mike
Mike Evans
TRW Conekt
N.I. Alliance Member, UK
http://www.Conekt.net