foreach automoatic counter?
French Football via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Sep 21 09:32:23 PDT 2015
On Monday, 21 September 2015 at 15:54:06 UTC, Justin Whear wrote:
>
On Monday, 21 September 2015 at 15:58:12 UTC, cym13 wrote:
>
Thankyou! .enumerate lets me iterate over a container with a
counter.
--Related tangential question... If I have a DList, how do I
insert into the middle of it? I'm trying .insertAfter but it
wants a range and apparently I can only slice an entire Dlist
with [].
More information about the Digitalmars-d-learn
mailing list