This is what PowerShell does, it has both the archaic `for` style with a newer iterator-like `foreach`.