Re: Get specific item by index from DList

2016-06-22 Thread H. S. Teoh via Digitalmars-d-learn
On Wed, Jun 22, 2016 at 10:49:54PM +, TheDGuy via Digitalmars-d-learn wrote: > On Wednesday, 22 June 2016 at 22:25:21 UTC, lmpo wrote: > > On Wednesday, 22 June 2016 at 22:10:09 UTC, TheDGuy wrote: > > > Hi, > > > > > > i am currently programming a small game with GTKD and i have to > > > use

Re: Get specific item by index from DList

2016-06-22 Thread lmpo via Digitalmars-d-learn
On Wednesday, 22 June 2016 at 22:10:09 UTC, TheDGuy wrote: Hi, i am currently programming a small game with GTKD and i have to use a Dlist because an array is static Static ? An array is not static. a DList is only interesting when you have to insert or remove inside the list i.e not at the

Get specific item by index from DList

2016-06-22 Thread TheDGuy via Digitalmars-d-learn
Hi, i am currently programming a small game with GTKD and i have to use a Dlist because an array is static but i want to add user inputs dynamically to a list. Now i am wondering how i can get a specific item from that list? I read that this isn't possible but is it possible to convert that