Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!mintaka!spdcc!ima!haddock!karl From: karl@haddock.ima.isc.com (Karl Heuer) Newsgroups: comp.lang.c Subject: Re: more that 32 flag array testing Keywords: boolean,testing,bits Message-ID: <18483@haddock.ima.isc.com> Date: 11 Oct 90 01:13:25 GMT References: <1990Oct8.165154.26747@vitro.uucp> <4811@baird.cs.strath.ac.uk> Reply-To: karl@ima.isc.com (Karl Heuer) Organization: Interactive Systems, Cambridge, MA 02138-5302 Lines: 15 In article <4811@baird.cs.strath.ac.uk> rmacgreg@cs.strath.ac.uk (Sorcerer) writes: >I don't know if this will work, never having tried it myself, Wouldn't it have been easier to try it than to post this message around the world? >I see no reason why you couldn't define a bitfield to be 100 bits long. (a) It's not allowed by ANSI, K&R, or common practice. (b) Even if it were, it wouldn't work. What's really needed is an *array* of bitfields, which is illegal because of a technicality related to the array and pointer duality. Karl W. Z. Heuer (karl@ima.isc.com or harvard!ima!karl), The Walking Lint