Date: Tue, 20 Mar 2001 14:11:35 +0500 From: berk X-Mailer: The Bat! (v1.47 Halloween Edition) Personal Organization: XQ X-Priority: 3 (Normal) Message-ID: <197228120700.20010320141135@k45.ru> To: djgpp AT delorie DOT com Subject: Newbie question: Need help finding a particular C keyword In-reply-To: <200103180505.AAA16869@delorie.com> References: <200103180505 DOT AAA16869 AT delorie DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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 *