There is one subtle difference in the semantics of the BREAK
and the CONTINUE statement (which are otherwise quite
orthogonal):
A labeled CONTINUE statement continues the _body_ statement
of the correspnding labeled statement (that body statement
must be continuable, i.e. it must be a FOR, DO or WHILE
statement).
Opposed to that, a labeled BREAK statement breaks the
labeled statement _itself_. (The body statement of the
labeled statement can be any type of statement in this case.)
Fixed in 1.0.21.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=865893
That was a tough one...
There is one subtle difference in the semantics of the BREAK
and the CONTINUE statement (which are otherwise quite
orthogonal):
A labeled CONTINUE statement continues the _body_ statement
of the correspnding labeled statement (that body statement
must be continuable, i.e. it must be a FOR, DO or WHILE
statement).
Opposed to that, a labeled BREAK statement breaks the
labeled statement _itself_. (The body statement of the
labeled statement can be any type of statement in this case.)
Fixed in 1.0.21.