Arc Forumnew | comments | leaders | submitlogin
2 points by almkglor 6108 days ago | link | parent

Yes. Although breakable: is significantly more concise.

Edit: Another alternative to breakable: ... break is catch: ... throw ^^



4 points by lojic 6108 days ago | link

But breakable isn't in Arc :)

-----

2 points by almkglor 6108 days ago | link

It's only six more nodes of code ~.~;

That said catch-throw is in ArcN, although they do have different intended usages. breakable: is supposed to be used as a modifier for existing control structures, while (catch ...) is supposed to be a control structure in its own right.

-----