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,ae9506fd4dcf7090 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-23 12:12:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn11feed!worldnet.att.net!207.217.77.102!newsfeed2.earthlink.net!newsfeed1.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3DB6F479.4070107@acm.org> From: Jeffrey Carter User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Concatenation and Characters References: <44hp9.807$_u6.205@nwrddc01.gnilink.net> <3DA5AE5F.3030902@attbi.com> <3DB03EF1.EE771923@mmm.com> <3DB43EB0.AAF4B38C@mmm.com> <3DB44B9C.80007@worldnet.att.net> <3DB466CB.7CE0BC59@mmm.com> <3DB4AD20.4070109@acm.org> <3DB59D75.20609 <3DB60342.3020104@acm.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 23 Oct 2002 19:11:13 GMT NNTP-Posting-Host: 63.184.0.14 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1035400273 63.184.0.14 (Wed, 23 Oct 2002 12:11:13 PDT) NNTP-Posting-Date: Wed, 23 Oct 2002 12:11:13 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:30081 Date: 2002-10-23T19:11:13+00:00 List-Id: Matthew Heaney wrote: > > We were using Ada on Solaris, and it was in fact very easy to get a core > dump if you used an initialized variable to index an array. I presume you mean "uninitialized" here. > > Many Ada83 programmers made the same mistake: assuming that there's an > automatic check when indexing an array. There was not, in Ada83. There is > now, in Ada95. One of the biggest sources of unexpected Constraint_Errors I encountered using Ada 83 was beginners assuming that a parameter of type String had a lower bound of one. I used a lot of Ada-83 compilers, but maybe I just got lucky and they all generated checks for all array indexing. -- Jeff Carter "English bed-wetting types." Monty Python & the Holy Grail