Date: Fri, 5 Feb 1999 04:18:33 +0100 From: anarko X-Mailer: The Bat! (v1.19) S/N 9FA473A9 X-Priority: 3 (Normal) Message-ID: <9179.990205@flashback.net> To: Paul Derbyshire Subject: Re[4]: what is wrong with this? References: <3 DOT 0 DOT 6 DOT 32 DOT 19990203235100 DOT 008de100 AT pop DOT netaddress DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com >>Oops. Someone made a boo-boo. That should definitely have been 0xDF. > Oops oops. That will give 11011111, but that's actually bit 5... 0xBF will > give 10111111, which is what you & with to reset bit 6. > This is using the covention that the right most bit is bit 0, someone may > have been calling it bit 1... since age of 9 huh :-) thanks, but i need a flexible routine like the one i posted earlier, you said it was too complex, but it really lets you specify wich bit to set/reset :) /anarko