Hi! I have a question: how break and continue statesments behave outside the loops expressions. If there are no loop expression before break statesment, then LC generetes an error "break is not enclosed in a loop". But after any loop expression its problem disappears.
This is sample with error:
var A = 0
break; //error
while ( A < 3) do
A = A + 1
endwhile
And without error:
var A = 0
while ( A < 3) do
A = A + 1
endwhile
break; //works correctly
Please, explane this behavior.