Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!bbn!granite!buck From: buck@granite.cr.bull.com (Ken Buck) Newsgroups: comp.lang.c Subject: Re: Enumerated types... what's the point? Keywords: enums Message-ID: <1990Mar23.123505.16328@granite.cr.bull.com> Date: 23 Mar 90 12:35:05 GMT References: <1990Mar22.053148.10351@ncsuvx.ncsu.edu> <159@caslon.cs.arizona.edu> Reply-To: buck@granite.cr.bull.com (Ken Buck) Distribution: usa Organization: Bull HN Information Systems Inc. Lines: 3 Another point of 'enum' types is visibility. Use of #define results in a definition with file scope, while an enum type definition can have the same scope as any other object (i.e., can be defined within a function or block).