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!v4g2000hsf.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: Curiosity about rage checking Date: Thu, 7 Feb 2008 07:57:05 -0800 (PST) Organization: http://groups.google.com Message-ID: <698dab8d-dc93-4f96-a490-5b5504ab2d23@v4g2000hsf.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 1202399826 23053 127.0.0.1 (7 Feb 2008 15:57:06 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 7 Feb 2008 15:57:06 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v4g2000hsf.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:19729 Date: 2008-02-07T07:57:05-08:00 List-Id: On Feb 7, 1:55 am, Jean-Pierre Rosen wrote: > And any decent Ada programmer should write that loop as: > > for I in X'range loop... If X'First /= A or X'Last /= B, then I think you'd have to be a pretty *indecent* Ada programmer to write the loop the way you just did. -- Adam