delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/20/05:05:44

Date: Tue, 20 Mar 2001 14:11:35 +0500
From: berk <berk AT k45 DOT ru>
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
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

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019