At 07:48 PM 6/16/2005 -0500, you wrote: >John Waters wrote: > > What is the "enum" type as used in the Keil C compiler? > > enum is a standard part of c. > > The following link has some usage examples (first likely link google >returned, but it looks reasonable at first glance): > >http://home.twcny.rr.com/amantoan/cweb/enumeration.htm > > They are also covered in "the Bible": > >http://www.bookpool.com/sm/0131103628 > >HTH, >Tad Anhalt As Tad says, enum is a part of standard C. if you need to know the internal representation for some reason, it's covered in the manual. If it will fit within one byte, one byte is used, otherwise two are used. http://www.engr.uky.edu/~jel/course/587/datasheets/C51.pdf >Best regards, Spehro Pefhany --"it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com ->> Inexpensive test equipment & parts http://search.ebay.com/_W0QQsassZspeff -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist