Quote Originally Posted by Charlie View Post
Sounds like the perfect use for logical AND. You would basically "AND" with 00011100 and it would leave any bit with zeros alone. Unfortunately "AND" does not seem to exist in my version of PBP, other than as a comparitor in an IF THEN statement?
Huh??? This is pretty basic functionality ... not sure why it's not there?
Check page 78 of the PBP3 manual - it talks about 'BITWISE AND' (expressed as '&') which is what I think you are looking for.

I haven't been brave (or dumb?) enough to use it yet, but it seems to be there.

Unless you're not using version 3, in which case, please excuse the interruption.

Andy