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-Thread: 103376,1b6f0735bc6de58e X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.glorb.com!news.mv.net!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: index check failure - constraint error Date: Fri, 01 Apr 2011 18:49:05 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <8fc6d308-c548-4efc-9f5d-aa1bc37742d8@dr5g2000vbb.googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1301698145 23214 192.74.137.71 (1 Apr 2011 22:49:05 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Fri, 1 Apr 2011 22:49:05 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:zHKkPe6IAjn1m54j92W+dkBliXY= Xref: g2news2.google.com comp.lang.ada:19645 Date: 2011-04-01T18:49:05-04:00 List-Id: Jeffrey Carter writes: > The idea that Strings always have a lower bound of 1 is quite common > among beginners. Whereas experts understand that it OUGHT to be true that "Strings always have a lower bound of 1", but it isn't true. It's a design flaw in the Ada language. > In SPARK all Strings do have a lower bound of 1. As they should. It really makes things simpler. And (could be) more efficient. - Bob