Removing an element from a list or array

2014-08-06 Thread Patrick via Digitalmars-d-learn
I feel dumb. I've been searching for how to do this, and each page or forum entry I read makes me more confused. Let's say I have a list of values (Monday, Tuesday, Wednesday, Thursday, Friday). I can store this list in an Slist, Dlist, Array etc -- any collection is fine. I decide I want

Re: Removing an element from a list or array

2014-08-06 Thread Jonathan M Davis via Digitalmars-d-learn
On Wednesday, 6 August 2014 at 19:01:26 UTC, Patrick wrote: I feel dumb. I've been searching for how to do this, and each page or forum entry I read makes me more confused. Let's say I have a list of values (Monday, Tuesday, Wednesday, Thursday, Friday). I can store this list in an Slist,

Re: Removing an element from a list or array

2014-08-06 Thread Patrick via Digitalmars-d-learn
Thank you, that is a great sample. On Wednesday, 6 August 2014 at 19:41:50 UTC, Jonathan M Davis wrote: On Wednesday, 6 August 2014 at 19:01:26 UTC, Patrick wrote: I feel dumb. I've been searching for how to do this, and each page or forum entry I read makes me more confused. Let's say I