Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Abrupt completion of the contained Statement is handled in the following manner:
- If execution of the Statement completes abruptly because of a
breakwith no label, then no further action is taken and thedostatement completes normally. - If execution of the Statement completes abruptly because of a
continuewith no label, then the Expression is evaluated. Then there is a choice based on the resulting value:- If the value is
true, then the entiredostatement is executed again. - If the value is
false, no further action is taken and thedostatement completes normally.
- If the value is
- If execution of the Statement completes abruptly because of a
continuewith label L, then there is a choice:- If the
dostatement has label L, then the Expression is evaluated. Then there is a choice:- If the value of the Expression is
true, then the entiredostatement is executed again. - If the value of the Expression is
false, no further action is taken and thedostatement completes normally.
- If the value of the Expression is
- If the
dostatement does not have label L, thedostatement completes abruptly because of acontinuewith label L.
- If the
- If execution of the Statement completes abruptly for any other reason, the
dostatement completes abruptly for the same reason. The case of abrupt completion because of abreakwith a label is handled by the general rule (ยง14.6).