UInt 8 Bits = 129; //Hex 0x81
If(Bits & 128) //Hex 0x80
{
"This means that the Bit is set"
return true;
}
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Zach Austin
Sent: Monday, August 14, 2000 1:24 PM
To: Palm Developer Forum
Subject: bits
If I have a byte how do I check if, for instance, bit 7 is set? Thanks in
advance for helping a newbie.
--Zach
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/