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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,269df2c167555fd6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-22 20:00:06 PST Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!wn3feed!worldnet.att.net!135.173.83.71!wnfilter1!worldnet-localpost!bgtnsc05-news.ops.worldnet.att.net.POSTED!not-for-mail Message-ID: <3A95E095.75B2A248@worldnet.att.net> From: James Rogers X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Representation clause References: <3a95c52f@post.usenet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 23 Feb 2001 03:59:30 GMT NNTP-Posting-Host: 12.74.128.90 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 982900770 12.74.128.90 (Fri, 23 Feb 2001 03:59:30 GMT) NNTP-Posting-Date: Fri, 23 Feb 2001 03:59:30 GMT Organization: AT&T Worldnet Xref: supernews.google.com comp.lang.ada:5454 Date: 2001-02-23T03:59:30+00:00 List-Id: NOTES Unchecked_Conversion may be used to query the internal codes used for an enumeration type. The attributes of the type, such as Succ, Pred, and Pos, are unaffected by the enumeration_representation_clause. For example, Pos always returns the position number, not the internal integer code that might have been specified in a enumeration_representation_clause. Jim Rogers Colorado Springs, Colorado USA Anatoly Chernyshev wrote: > Now I wander about representation clause for enumerated types. > For example, > type ATOM is (H, C, N, O); > for ATOM use (H=>1, C=>6, N=>7, O=>8); > > How can I access these 'internal' numbers?