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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,e55245590c829bef X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit From: "Nasser M. Abbasi" Newsgroups: comp.lang.ada Subject: Re: _Type vs no _Type Date: Wed, 03 Nov 2010 22:28:28 -0700 Organization: Aioe.org NNTP Server Message-ID: References: <86wroy58ff.fsf@gareth.avalon.lan> <86pqup5xfy.fsf@gareth.avalon.lan> <86y69d3rec.fsf@gareth.avalon.lan> <82lj5c5ecm.fsf@stephe-leake.org> <82zktq4n9b.fsf_-_@stephe-leake.org> Reply-To: nma@12000.org NNTP-Posting-Host: tUYQ4Ty9mMw9Pdc8TJRFQA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 Path: g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!feed.ac-versailles.fr!gegeweb.org!aioe.org!not-for-mail Xref: g2news1.google.com comp.lang.ada:15199 Date: 2010-11-03T22:28:28-07:00 List-Id: On 11/3/2010 2:29 PM, Simon Wright wrote: > Stephen Leake writes: > >> package RPG is >> >> type Weapon is (Broadsword, Catapult, Torpedo); >> procedure Attack (Weapon : RPG.Weapon); >> >> end RPG; > > Neat. Certainly worth bearing in mind. Sorry to jump in, I have not read everything in this thread, so may be this was mentioned already. Isn't this whole subject a result of Ada being case insensitive? If Ada has been case sensitive, then one would write weapon : Weapon; and be done with it? That is one part of Ada I never liked, same for Fortran or any other language which is not case sensitive. But nothing can be done about it, I know. --Nasser