PeterBaileyUk
asked on
How do I test if bit 128 is set? in vb
I would like a function that tell me if bit 128 is set in any number that I pass to the function, in vb not sure how.
ASKER
I should have mentioned that it is for use in an sql query grid, not sure if access 2007 will allow it.
Do you mean bit 128 or the bit for value 128 (i.e. bit 8)
if l AND 128 then
bit8 = true
end if
if l AND 128 then
bit8 = true
end if
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://forums.realbasic.com/viewtopic.php?t=8124
Open in new window