From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE, MSGID_SHORT autolearn=no autolearn_force=no version=3.4.4 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 List-Id: > > 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).