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!watmath!clyde!wayback!arny From: arny@wayback.UUCP (Arny B. Engelson) Newsgroups: comp.lang.ada Subject: enumeration literal/internal codes query Message-ID: <1494@wayback.UUCP> Date: 9 Jan 89 15:25:50 GMT Organization: AT&T Bell Labs, Whippany, NJ List-Id: A coworker came to me with what I thought was a simple question, but I don't see a way to do what he wants. Am I missing a language feature, or is there a language feature missing? Here's the question: After specifying internal codes for the literals of an enumeration type using an enumeration representation clause, how do you (later in the code) find out what internal codes were specified? Note that this question actually is the same whether or not an enumeration rep clause is used. How do you find out the internal codes? Arny Engelson (att,ihnp4,clyde)!wayback!arny (201) 386-4816