When you write it all caps like that, you really see the FORTRAN heritage. Anyway, I can't get the forall continue
syntax correct.
var ids = {1,2,3,5,7,11};
forall id in ids {
if id == 5 then writeln("High Five!!");
if id == 7 then continue;
writeln(id);
}
How does one properly "skip out of this loop" when using forall
in Chapel?
== EDIT ==
Error is
error: break or continue is not in a loop