There is no goto in Nosica.
But, as in Java, it is possible to labelize a particular statement.
public sub f() { label1 : for (int i = 0; i < 10; ++i) { label2 : for (int j = 0; j < 10; ++j) { if (someCondition(i, j)) break label1; else if (anotherCondition(i, j)) continue label2; else continue label1; } } }
No comments yet