when I am anding... which is correct *********** 0101 0011 ------ 0001 or 0101 0011 ------ 1001 ********* Thanks, Rogue

"RogueIT" <> wrote in message news:... > when I am anding... which is correct > > *********** > 0101 > 0011 > ------ > 0001 > > or > > 0101 > 0011 > ------ > 1001 > ********* > Thanks, > Rogue > AND means that both bits need to be SET for the resultant bit to be set, so your first scenario is correct. John R

Thanks John...you can only imagine the difference that 00=1 would make... Have a good day "John R" wrote: > > "RogueIT" <> wrote in message > news:... > > when I am anding... which is correct > > > > *********** > > 0101 > > 0011 > > ------ > > 0001 > > > > or > > > > 0101 > > 0011 > > ------ > > 1001 > > ********* > > Thanks, > > Rogue > > > > AND means that both bits need to be SET for the resultant bit to be set, so > your first scenario is correct. > > John R > >