🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Peter G. Trei Wed, 06 Aug 1986 03:53
Bit stripping... an answer.
#497
Author: Peter G. Trei
Date: Wed, 06 Aug 1986 03:53
16 lines
941 bytes

    Alright, here's the 'Right Way' to strip parity in Modula-2:

PROCEDURE StripParity(VAR c:CHAR);
BEGIN
c := CHAR( BITSET(c) * BITSET(127) );
END StripParity;

this is such a trivial procedure it is clearly easier to code it in-line.

						Peter Trei
						oc.trei@cu20b

[My employer would feel insulted if anyone thought it shared veiws with me.]
-------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads