Absolutely!  But in case you can't wait to know:

<<    shift left 1 bit
&    logical AND (turn off bits)
|=    logical OR and assign (turn on bits)
&=  logical AND and assign (turn off bits)
~BitAtPosition One's complement (all 0s to 1, all 1s to 0)

It helps to have a little assembler background.

Michael Yam
www.ytechnology.com



Elizabeth Chang <[EMAIL PROTECTED]> wrote in message
news:2173@palm-dev-forum...
>
> Michael,
>
> Thank you for checking back with me on the functions I posted couple days
> ago.  No, I have not heard back anyone on SetBitMacro, GetBitMacro,
> RemoveBitMacro, BitAtPosition.  Are they covered some where if you know?
> Are these operators "<<", "&", "|=", "&=", "~BitAtPosition" covered in
"The
> C Programming Language"?
>
>
> Elizabeth Chang
> ISSI Consulting Group
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Michael Yam
> Sent: Tuesday, February 15, 2000 10:38 AM
> To: Palm Developer Forum
> Subject: Re: Looking for basic C Reference Books
>
>
> I recall your earlier post inquiring about SetBitMacro, GetBitMacro,
> RemoveBitMacro, BitAtPosition.  Hope someone got back to you.  Basically,
> they let the program (Address Book?) track which fields are blank and
which
> ones have data.
>
> The classic book on "C" is Kernighan and Ritchie's "The C Programming
> Language," Prentice Hall.
>
> Michael Yam
> www.ytechnology.com
>
>
> Elizabeth Chang <[EMAIL PROTECTED]> wrote in message
> news:2128@palm-dev-forum...
> >
> > I am looking for some good C reference books.  I need to start from some
C
> > basics such as bits and bytes, variable types and pointers.  Thanks.
> >
> > Elizabeth Chang
> > [EMAIL PROTECTED]
> >
> >
> >
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palm.com/devzone/mailinglists.html
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to