Re: Int within ranges

2011-06-13 Thread nrgyzer
== Auszug aus Steven Schveighoffer (schvei...@yahoo.com)'s Artikel > On Mon, 13 Jun 2011 15:44:01 -0400, nrgyzer wrote: > >> On Mon, 13 Jun 2011 14:52:24 -0400, nrgyzer > > wrote: > >> >> On Mon, 13 Jun 2011 12:15:40 -0400, nrgyzer > >> > wrote: > >> >> > Hi there, > >> >> > > >> >> > is there a

Re: Int within ranges

2011-06-13 Thread Steven Schveighoffer
On Mon, 13 Jun 2011 15:44:01 -0400, nrgyzer wrote: On Mon, 13 Jun 2011 14:52:24 -0400, nrgyzer wrote: >> On Mon, 13 Jun 2011 12:15:40 -0400, nrgyzer > wrote: >> > Hi there, >> > >> > is there any possibility to get a sliced array from another array >> > between two ranges like: >> > >> >

Re: Int within ranges

2011-06-13 Thread nrgyzer
> On Mon, 13 Jun 2011 14:52:24 -0400, nrgyzer wrote: > >> On Mon, 13 Jun 2011 12:15:40 -0400, nrgyzer > > wrote: > >> > Hi there, > >> > > >> > is there any possibility to get a sliced array from another array > >> > between two ranges like: > >> > > >> > int[uint] myArray; > >> > myArray[10] = 1

Re: Int within ranges

2011-06-13 Thread Steven Schveighoffer
On Mon, 13 Jun 2011 14:52:24 -0400, nrgyzer wrote: On Mon, 13 Jun 2011 12:15:40 -0400, nrgyzer wrote: > Hi there, > > is there any possibility to get a sliced array from another array > between two ranges like: > > int[uint] myArray; > myArray[10] = 1000; > myArray[20] = 2000; > myArray[30]

Re: Int within ranges

2011-06-13 Thread nrgyzer
> On Mon, 13 Jun 2011 12:15:40 -0400, nrgyzer wrote: > > Hi there, > > > > is there any possibility to get a sliced array from another array > > between two ranges like: > > > > int[uint] myArray; > > myArray[10] = 1000; > > myArray[20] = 2000; > > myArray[30] = 3000; > > myArray[40] = 4000; > > m

Re: Int within ranges

2011-06-13 Thread Jonathan M Davis
On 2011-06-13 09:15, nrgyzer wrote: > Hi there, > > is there any possibility to get a sliced array from another array > between two ranges like: > > int[uint] myArray; > myArray[10] = 1000; > myArray[20] = 2000; > myArray[30] = 3000; > myArray[40] = 4000; > myArray[50] = 5000; > > int[] newArray

Re: Int within ranges

2011-06-13 Thread Steven Schveighoffer
On Mon, 13 Jun 2011 13:25:39 -0400, bearophile < wrote: Steven Schveighoffer: But the dcollections.TreeMap API is more polished. I think most people will want to use just Phobos, to avoid a dependency, even if the Phobos one is less polished... Sure, but it's difficult to demonstrate

Re: Int within ranges

2011-06-13 Thread bearophile
Steven Schveighoffer: > But the dcollections.TreeMap API is more polished. I think most people will want to use just Phobos, to avoid a dependency, even if the Phobos one is less polished... Bye, bearophile

Re: Int within ranges

2011-06-13 Thread Steven Schveighoffer
On Mon, 13 Jun 2011 12:15:40 -0400, nrgyzer wrote: Hi there, is there any possibility to get a sliced array from another array between two ranges like: int[uint] myArray; myArray[10] = 1000; myArray[20] = 2000; myArray[30] = 3000; myArray[40] = 4000; myArray[50] = 5000; int[] newArray = myAr