comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adam@irvine.com>
Subject: Re: Curiosity about rage checking
Date: Thu, 7 Feb 2008 07:57:05 -0800 (PST)
Date: 2008-02-07T07:57:05-08:00	[thread overview]
Message-ID: <698dab8d-dc93-4f96-a490-5b5504ab2d23@v4g2000hsf.googlegroups.com> (raw)
In-Reply-To: fikeof.nrj.ln@hunter.axlog.fr

On Feb 7, 1:55 am, Jean-Pierre Rosen <ro...@adalog.fr> 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



  parent reply	other threads:[~2008-02-07 15:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-07  8:17 Curiosity about rage checking framefritti
2008-02-07  8:45 ` Maciej Sobczak
2008-02-07  9:55 ` Jean-Pierre Rosen
2008-02-07 10:36   ` framefritti
2008-02-07 11:21     ` Dmitry A. Kazakov
2008-02-07 15:57   ` Adam Beneschan [this message]
2008-02-07 16:45 ` Robert A Duff
2008-02-07 16:54 ` Adam Beneschan
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox