Can a LABEL block be used without loop? Any examples?
See Question&Answers more detail:osHere is an example of using labels and break statements without a loop:
block1: {
if (a < 0) {
break block1;
}
if (b < 0) {
break block1;
}
return a + b;
}