Re: Array indices and (in|ex)clusive ranges

2009-07-08 Thread Steven Schveighoffer
On Wed, 08 Jul 2009 13:48:01 -0400, Michiel Helvensteijn wrote: I've been reading the "Case Range Statement" topic with some interest. It has occurred to me that all those problems would be solved if array indices started with 1 instead of 0. Just let arrays be indexed from 1 to size and mak

Re: Array indices and (in|ex)clusive ranges

2009-07-08 Thread dsimcha
== Quote from Michiel Helvensteijn (m.helvensteijn.rem...@gmail.com)'s article > I've been reading the "Case Range Statement" topic with some interest. > It has occurred to me that all those problems would be solved if array > indices started with 1 instead of 0. Just let arrays be indexed from 1 t

Re: Array indices and (in|ex)clusive ranges

2009-07-08 Thread Bill Baxter
On Wed, Jul 8, 2009 at 10:48 AM, Michiel Helvensteijn wrote: > I've been reading the "Case Range Statement" topic with some interest. > > It has occurred to me that all those problems would be solved if array > indices started with 1 instead of 0. Just let arrays be indexed from 1 to > size and mak

Array indices and (in|ex)clusive ranges

2009-07-08 Thread Michiel Helvensteijn
I've been reading the "Case Range Statement" topic with some interest. It has occurred to me that all those problems would be solved if array indices started with 1 instead of 0. Just let arrays be indexed from 1 to size and make the a..b syntax inclusive. I'll be expecting this change to be put