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 08:54:56 -0800 (PST)
Date: 2008-02-07T08:54:56-08:00	[thread overview]
Message-ID: <49c577d7-cb06-4393-ab1b-bc06459d5526@e25g2000prg.googlegroups.com> (raw)
In-Reply-To: 29e89783-8802-474e-b3c7-9721407ce42e@s13g2000prd.googlegroups.com

On Feb 7, 12:17 am, "framefri...@gmail.com" <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



      parent reply	other threads:[~2008-02-07 16:54 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
2008-02-07 16:45 ` Robert A Duff
2008-02-07 16:54 ` Adam Beneschan [this message]
replies disabled

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