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,1a6e940e9297b109 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!e25g2000prg.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: Curiosity about rage checking Date: Thu, 7 Feb 2008 08:54:56 -0800 (PST) Organization: http://groups.google.com Message-ID: <49c577d7-cb06-4393-ab1b-bc06459d5526@e25g2000prg.googlegroups.com> References: <29e89783-8802-474e-b3c7-9721407ce42e@s13g2000prd.googlegroups.com> NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1202403296 26349 127.0.0.1 (7 Feb 2008 16:54:56 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 7 Feb 2008 16:54:56 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e25g2000prg.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.7.12-1.3.1,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:19733 Date: 2008-02-07T08:54:56-08:00 List-Id: On Feb 7, 12:17 am, "framefri...@gmail.com" wrote: > Dear *, > this morning, while I was shaving myself, a curiosity about array > access checking in Ada came to my mind... > > Consider the following piece of code > > for I in A..B loop -- > <--------------------+ > Put_Line("Assigning entry for I=" & Integer'Image(I)); > -- | > > -- | > X(I) := 0; -- <== Access checking for this assignement could > be moved here--+ > end loop > > As explained in the fancy comment (I hope you are seeing it with a > fixed-size font :-) I am, but it doesn't help; I use Google Groups to read Usenet, and it is wrapping at an inconvenient place. Your example is just too wide--- sorry. I guess that's what happens when you try to post a question and shave at the same time. (On the other hand, if you're having problems with "rage checking", I really should be very careful about what I say to you :) :) :) :) :) -- Adam