Hi, I'm kinda stuck in translating this VB snippet -- IF (recbits AND &H7) = 0 THEN recbytes = ((recbits AND &H7F) > > 3) ELSE recbytes = ((recbits AND &H7F) > > 3) + 1 END IF -- How to deal with the >>'s ? What is the gambas equivalent of this bit manip? Thanks a ton in advance! Regards, Ron.