Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!olivea!mintaka!bloom-beacon!eru!hagbard!sunic!dkuug!rcbal!ej From: ej@rci.dk (Erik W. Jeppesen) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: ALED goes to the wastebasket here in Iceland Message-ID: <1991Jun19.075229.3021@rci.dk> Date: 19 Jun 91 07:52:29 GMT Article-I.D.: rci.1991Jun19.075229.3021 References: <27098@as0c.sei.cmu.edu> <3253@krafla.rhi.hi.is> <7326@vela.acs.oakland.edu> <3269@krafla.rhi.hi.is> Organization: RC International, Copenhagen, Denmark Lines: 21 einari@rhi.hi.is (Einar Indridason) writes: >Instead I would like to see more code in this lines: > .... > c = getchar(); /* notice this, no masking of the > 8th bit */ > .... And remember: unsigned char c; to avoid problems with code like the following: if (c < 32) { /* control character */ ... } -- Erik W. Jeppesen ej@rci.dk +45 42 65 80 00 RC International, Lautrupbjerg 1, DK-2750 Ballerup, Denmark