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-01 19:12:32 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!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 03:12:31 +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 1073013151 21945 62.49.62.197 (2 Jan 2004 03:12:31 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Fri, 2 Jan 2004 03:12:31 +0000 (UTC) User-Agent: Pan/0.14.0 (I'm Being Nibbled to Death by Cats!) Xref: archiver1.google.com comp.lang.ada:4033 Date: 2004-01-02T03:12:31+00:00 List-Id: On Thu, 01 Jan 2004 21:46:56 -0500, Robert A Duff 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. > > And of course the position numbers always start at 0, no matter what > the representation is. Ah thanks, Luke.