Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!caip!think!nike!ucbcad!ucbvax!hplabs!felix!peregrine!mike From: mike@peregrine.UUCP (Mike Wexler) Newsgroups: net.lang.c Subject: Re: Boolean datatypes Message-ID: <404@peregrine.UUCP> Date: Tue, 17-Jun-86 16:43:36 EDT Article-I.D.: peregrin.404 Posted: Tue Jun 17 16:43:36 1986 Date-Received: Sat, 21-Jun-86 06:36:47 EDT References: <210@pyuxv.UUCP> Reply-To: mike@peregrine.UUCP (Mike Wexler) Organization: Peregrine Systems, Irvine, Ca Lines: 19 In article <210@pyuxv.UUCP> cim2@pyuxv.UUCP (Robert L. Fair) writes: >Many current C compilers now implement enums properly (i.e. each enumeration >is a distinct type) yet they are hardly ever used. Any comments why not ? There are(at least) two reasons. First, a lot of people don't know that there c compiler has enum types since they have a C compiler thats uses k&r as the manual and k&r doesn't describe enum types. Second, they would limit the portability of the application since enum types are not yet universal. I think that the ANSI standard will help solve both of these problems since the new standard document describing the language will describe enum's(they are in the standard, aren't they?) and compiler writers will have more incentive to support this feature. Not being ANSI compatible will cause a compiler writer to receive many complaints(and probably less sales). -- Mike Wexler Email address:(trwrb|scgvaxd)!felix!peregrine!mike Tel Co. address: (714)855-3923 ;-) Internet address: ucivax@ucbvax.BERKELY.EDU!ucivax%felix!mike@peregrine :-(