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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6aa1ec264ce25142 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.66.88.42 with SMTP id bd10mr2969857pab.18.1346189109306; Tue, 28 Aug 2012 14:25:09 -0700 (PDT) Received: by 10.68.233.5 with SMTP id ts5mr3902014pbc.20.1346189109293; Tue, 28 Aug 2012 14:25:09 -0700 (PDT) Path: a8ni87145150pbd.1!nntp.google.com!r4no893400pbs.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 28 Aug 2012 14:25:08 -0700 (PDT) In-Reply-To: <090f7d43-21c1-480d-8428-96c1c59ec7f2@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=69.20.190.126; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC NNTP-Posting-Host: 69.20.190.126 References: <1p5r39cusgc1n$.18nj9sytckk6$.dlg@40tude.net> <874nnmhki2.fsf@mid.deneb.enyo.de> <027d5417-06c0-46f5-a04a-70269f593b18@googlegroups.com> <090f7d43-21c1-480d-8428-96c1c59ec7f2@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Real syntax problems in Ada From: Shark8 Injection-Date: Tue, 28 Aug 2012 21:25:09 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-08-28T14:25:08-07:00 List-Id: On Tuesday, August 28, 2012 3:07:32 PM UTC-6, Adam Beneschan wrote: > On Tuesday, August 28, 2012 1:53:01 PM UTC-7, Shark8 wrote: >=20 > In the past, I've wanted something like (null array), which would be cons= istent since Ada already has (null record). The language would have to def= ine what the actual bounds of the array are, however, since a program can s= till refer to A'First or A'Last and they have to be defined to be something= . Starting with Ada 2005, it's now possible to say (1..0 =3D> <>), which m= akes things better than they were before--at least there's no more problem = of having to come up with a dummy value to put on the right side of the arr= ow. Except in the case of an array of not null access values. :( (At least w/ GNAT; it rejects <> because the default is null, which is excl= uded.)