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 06:17:58 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Matthew Heaney" Newsgroups: comp.lang.ada Subject: Re: Concatenation and Characters Date: Wed, 23 Oct 2002 09:16:40 -0400 Organization: Posted via Supernews, http://www.supernews.com Message-ID: 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> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.lang.ada:30073 Date: 2002-10-23T09:16:40-04:00 List-Id: "Jeffrey Carter" wrote in message news:3DB60342.3020104@acm.org... > > Well, if you say this was so, I guess it probably was so. Having used > Ada 83 for over a decade, I never encountered a compiler that wouldn't > check that I was in the range of S (not the index subtype of String). > Clearly the range of S could be anything from null through Positive. I'm > surprised that Ada 83 would allow a variable to index an array of > unknown range without a bounds check. 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. 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.