Suppose I want to iterate over two arrays at once:
foreach(v1, v2; [1.5, 2.5, 3.5], [4.5, 5.5, 6.5]) {
...
}I have seen a way to do this but cannot remember what it is and cannot find it.
bachmeier via Digitalmars-d-learn Mon, 19 Sep 2016 11:15:52 -0700
Suppose I want to iterate over two arrays at once:
foreach(v1, v2; [1.5, 2.5, 3.5], [4.5, 5.5, 6.5]) {
...
}I have seen a way to do this but cannot remember what it is and cannot find it.