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.1 required=5.0 tests=BAYES_00,FROM_NO_USER autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,269df2c167555fd6,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-22 18:40:05 PST Date: Fri, 23 Feb 2001 05:39:34 +0300 From: Anatoly Chernyshev <@http://www.adapower.net/~achernyshev> X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: ru,en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Representation clause Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 194.87.97.236 X-Original-NNTP-Posting-Host: 194.87.97.236 Message-ID: <3a95c52f@post.usenet.com> X-Trace: 22 Feb 2001 20:04:31 -0600, 194.87.97.236 Organization: usenet.com http://www.usenet.com 80,000+ UNCENSORED Newsgroups. The #1 Usenet Service on the Planet! X-Comments: This message was posted through Usenet.com's, FREE publicly accessible Usenet Server - "post.usenet.com" X-Comments2: IMPORTANT: Usenet.com does not condone, nor support, spam or any illegal or copyrighted postings. X-Comments3: IMPORTANT: Under NO circumstances will postings containing illegal or copyrighted material through this service be tolerated!! X-Report: Please report illegal or inappropriate use to X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body (DO NOT SEND ATTACHMENTS) Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!feeder.via.net!204.71.68.178.MISMATCH!out!post.usenet.com!194.87.97.236 Xref: supernews.google.com comp.lang.ada:5451 Date: 2001-02-23T05:39:34+03:00 List-Id: **** Post for FREE via your newsreader at post.usenet.com **** Hello again, 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? ATOM'POS yields 0, 1, 2, 3 respectively and I know no other relevant attributes. Thanks, Anatoly -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= *** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! *** http://www.usenet.com -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=