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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,54889de51045a215 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-21 21:08:00 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.mathworks.com!wn13feed!wn11feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!rwcrnsc54.POSTED!not-for-mail Message-ID: <3F960251.5040400@comcast.net> From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: += in ada References: <1066224357.499523@master.nyc.kbcfp.com> <1066231159.711433@master.nyc.kbcfp.com> <1066311805.222491@master.nyc.kbcfp.com> <3F8F3077.60402@comcast.net> <3F900F35.50203@comcast.net> <3F952A59.5090001@noplace.com> <3F954670.8080004@comcast.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.34.139.183 X-Complaints-To: abuse@comcast.net X-Trace: rwcrnsc54 1066795679 24.34.139.183 (Wed, 22 Oct 2003 04:07:59 GMT) NNTP-Posting-Date: Wed, 22 Oct 2003 04:07:59 GMT Organization: Comcast Online Date: Wed, 22 Oct 2003 04:07:59 GMT Xref: archiver1.google.com comp.lang.ada:1364 Date: 2003-10-22T04:07:59+00:00 List-Id: Wes Groleau wrote: > They could also provide unsigned types in other packages. > Verdix did--unfortunately, they misinterpreted the requirement > that built-in integer types must be symmetrical about zero > to mean that the compiler must refuse to compile any > such type. So their unsigned package spec was all comments, > and users were prevented from defining any unsigned types. Please. I fought very hard for that wording. Predefined integer types, and predefined floating point types. Oh and also notice, which people kept missing, that fixed-point types in Ada 83 had no such restriction, and in fact had examples in the manual of how to declare non-negative types that filled a byte or word. By the way, what made you think that users couldn't define unsigned types in Verdix? As I recall, the "special" package provided a 32-bit unsigned type that you could derive from or subtype. All other size unsigned types could be defined without problem. The special problem with the 32-bit unsigned type was that Unsigned'Last was greater than System.Max_Int. -- Robert I. Eachus "Quality is the Buddha. Quality is scientific reality. Quality is the goal of Art. It remains to work these concepts into a practical, down-to-earth context, and for this there is nothing more practical or down-to-earth than what I have been talking about all along...the repair of an old motorcycle." -- from Zen and the Art of Motorcycle Maintenance by Robert Pirsig