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,a1ce307c10055549 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-16 14:33:00 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!panix!newsfeed.mathworks.com!wn13feed!wn11feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi.com!sccrnsc02.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: calenday (was Re: IBM Acquires Rational Ada References: X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 12.234.13.56 X-Complaints-To: abuse@attbi.com X-Trace: sccrnsc02 1040077960 12.234.13.56 (Mon, 16 Dec 2002 22:32:40 GMT) NNTP-Posting-Date: Mon, 16 Dec 2002 22:32:40 GMT Organization: AT&T Broadband Date: Mon, 16 Dec 2002 22:32:40 GMT Xref: archiver1.google.com comp.lang.ada:31922 Date: 2002-12-16T22:32:40+00:00 List-Id: > This insures that instantiations of > Ada.Unchecked_Conversion between day_name_type and > integer types produce specified results. An enumeration of days of the week is unlikely to be of the same 'size as integer'size, so the result is "implementation defined". And why worry about that when My_Day : constant array(Day_Of_Week) of Integer := (Sunday => 7, Monday => 0, ... is so simple, portable, and modifiable.