On Sat, Jan 10, 2009 at 9:33 PM, Tim M <a at b.com> wrote: > > Why is this an error. Dmd wants to make sure that I declare a new variable > in the foreach statement and not use an existing one? You can't reuse existing variables as foreach loop indices, long story short.