On 02/03/2018 11:21 PM, Arredondo wrote: > Hi, > > The following works as expected: > > auto range = [1, 2, 3, 4, 5]; > foreach (i, el; range) { > writeln(i, ": ", el); > } s/range/array/ Arrays have a different foreach syntax than ranges do.