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, no further action is taken and thewhilestatement completes normally.- If execution of the Statement completes abruptly because of a
continuewith no label, then the entirewhilestatement is executed again. - If execution of the Statement completes abruptly because of a
continuewith label L, then there is a choice:- If the
whilestatement has label L, then the entirewhilestatement is executed again. - If the
whilestatement does not have label L, thewhilestatement completes abruptly because of acontinuewith label L.
- If the
- If execution of the Statement completes abruptly for any other reason, the
whilestatement completes abruptly for the same reason. Note that the case of abrupt completion because of abreakwith a label is handled by the general rule for labeled statements (ยง14.6).
- If execution of the Statement completes abruptly because of a