Mail Archives: djgpp/2001/03/20/05:05:44
Use The Source, James!
Replying to your mail dated Sunday, March 18, 2001, 10:05:50 AM,
about "Newbie question: Need help finding a particular C keyword":
LAadc> In the code, I declared two integer variables.
LAadc> int computedChecksum=0;
LAadc> int recordChecksum=0;
#define LEAST_BYTE(x) ((x) & 0xFF)
LAadc> Then, somewhere in the program I wanted to test the equality of these two
LAadc> variables.
LAadc> if (computedChecksum==recordChecksum)
if( LEAST_BYTE(computedChecksum) == LEAST_BYTE(recordChecksum) )
keep in touch. berk.
* mailto:berk AT k45 DOT ru * http://ber.k45.ru * ICQ UIN 49516372 *
* The Go! operating system development: http://attend.to/go *
- Raw text -