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,967a201c4428b348 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-02 13:05:29 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: "Luke A. Guest" Newsgroups: comp.lang.ada Subject: Re: Enumeration representation Date: Fri, 02 Jan 2004 21:05:27 +0000 Message-ID: References: NNTP-Posting-Host: abyss2.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.demon.co.uk 1073077528 16662 62.49.62.197 (2 Jan 2004 21:05:28 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Fri, 2 Jan 2004 21:05:28 +0000 (UTC) User-Agent: Pan/0.14.0 (I'm Being Nibbled to Death by Cats!) Xref: archiver1.google.com comp.lang.ada:4049 Date: 2004-01-02T21:05:27+00:00 List-Id: On Fri, 02 Jan 2004 14:52:03 -0600, Randy Brukardt wrote: >> RM-13.4(8) *requires* the internal codes to be 0, 1, 2... >> if no representation clause is given. >> So there's never a need to say "for Enum_Type use (0, 1, 2, 3);" -- >> that's the default. It is not implementation dependent. > > Note that that is only true of Ada 95; Ada 83 didn't specify anything. So, > if you care and you have to be compatible with Ada 83, you do need to give > the rep. clause. (But that combination ought to be very rare.) Ok, thanks. I really won't need Ada83. Luke.