2
当你写出所有这样的大写字母时,你真的看到了FORTRAN的遗产。无论如何,我无法获得正确的forall continue
语法。继续走出教堂的FORALL循环
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);
}
如何正确一个“跳过了这个循环的”在教堂使用forall
什么时候?
== ==编辑
错误是
error: break or continue is not in a loop
那是一个可怕的错误信息!如果你要提交一个GitHub的问题,那将非常感激。 – Brad
完成! https://github.com/chapel-lang/chapel/issues/7626 –
分布式基础设施重新发信号通知本地语言环境发出中断信号确实是语言挑战。 – user3666197