Date: Thu, 4 Feb 1999 03:54:22 +0100 From: anarko X-Mailer: The Bat! (v1.19) S/N 9FA473A9 X-Priority: 3 (Normal) Message-ID: <8162.990204@flashback.net> To: Daniel Reed Subject: Re[4]: what is wrong with this? References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Hi Daniel, torsdag, den 4 februari 1999, you wrote: > On Wed, 3 Feb 1999, anarko wrote: > ) #define RBIT(c,b) ((uchar) (c >> (1+b)) << (1+b)) | ((uchar) (c << (8-b)) >> (8-b)) > ) #define SBIT(c,b,b2) (((uchar) (c << (8-b))) >> (8-b)) | (((uchar) (c >> (1+b))) << (1+b)) | b2 > Damn, if I understand what you want to do, you took an insanely > complicated route to do it. hehe guess i did, thanks for your code :) /anarko