Path: utzoo!utgpu!attcan!uunet!lll-winken!ames!mailrus!cornell!uw-beaver!ssc-vax!shuksan!scott From: scott@shuksan.UUCP (Scott Moody) Newsgroups: comp.lang.ada Subject: Re: enumeration literal/internal codes query Summary: Agree, should be cleaner way Message-ID: <1074@shuksan.UUCP> Date: 13 Jan 89 17:03:01 GMT References: <1494@wayback.UUCP> <1499@wayback.UUCP> Organization: The Boeing Co., BAC MMST, Seattle, WA Lines: 12 > > It seems to me that retrieving the internal codes being used to store an > object, whether specified by the programmer or assigned by the > implementation, should be provided for directly by a language feature > (such as an attribute). > - Arny Engelson I too have run into all of the same problems that you have mentioned. The 'pos doesn't work which leaves the Unchecked Conversion method. I would also think that the language should provide some better (cleaner) method of retrieving that value; especially since the language provides a clean method of describing those values (using rep specs).