comp.lang.ada
 help / color / mirror / Atom feed
From: "Marc A. Criley" <mcq95@earthlink.net>
Subject: Re: Charles: missing vector iterators
Date: Thu, 14 Nov 2002 12:10:24 GMT
Date: 2002-11-14T12:10:24+00:00	[thread overview]
Message-ID: <3DD3846B.7EADD25C@earthlink.net> (raw)
In-Reply-To: 3dd29387$0$303$bed64819@news.gradwell.net

Victor Porton wrote:
> 
> In enclosed loops:
> 
> for i in ... loop
>   for j in ... loop
>     ...
>   end loop;
> end loop;
> 
> personally I often mess I and J. Probability to mess iterators is
> lesser than to mess natural number indexes because iterators are more
> type-safe.

You can't mess with I and J inside a loop like this.  They're
effectively constants as far as the enclosed statements are concerned.

Marc A. Criley
Quadrus Corporation
www.quadruscorp.com



  parent reply	other threads:[~2002-11-14 12:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-13 17:15 Charles: missing vector iterators Victor Porton
2002-11-14  9:22 ` Preben Randhol
2002-11-14 12:10 ` Marc A. Criley [this message]
2002-11-14 15:30   ` Preben Randhol
2002-11-14 16:04 ` Matthew Heaney
2002-11-15  7:10 ` Victor Porton
2002-11-15  9:36   ` Preben Randhol
2002-11-15  9:37   ` Preben Randhol
2002-11-15  7:27 ` Victor Porton
2002-11-16  0:10   ` Matthew Heaney
replies disabled

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