The question is rather what the reason for foreach (x,y) was... semicolon is much better in those statements, since comma is a valid operator, and makes the statement look like a function anyway. :)
/ Mirar
Previous text:
2004-09-26 21:23: Subject: foreach(x, y) vs foreach(x; y; z)
hi,
what was the reason for foreach(x; y; z)? why is it not possible to have the parser distinguish foreach(x, y) from foreach(x, y, z)? i remember reading that there is a backwards compatibility problem, but i don't see where this would be.
greetings, martin.
/ Brevbäraren