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 autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!cornell!rochester!bbn!inmet!ishmael!inmet!ada-uts!stt From: stt@ada-uts Newsgroups: comp.lang.ada Subject: Re: enumeration literal/internal codes Message-ID: <57900087@ada-uts> Date: 12 Jan 89 15:51:00 GMT References: <1494@wayback.UUCP> Nf-ID: #R:wayback.UUCP:-149400:ada-uts:57900087:000:346 Nf-From: ada-uts!stt Jan 12 10:51:00 1989 List-Id: Unchecked-conversion to integer is the most straightforward way to determine the internal code used for an enumeration value. There is some pushing for Ada9X to have an attribute function similar to 'POS which will return the internal code rather than the position number (plus the inverse, analagous to 'VAL). S. Tucker Taft Intermetrics, Inc.