和C一样用喽
The break, continue, and next statements can be used to break out of loops that would otherwise keep going. break drops out of the innermost while, for, or do loop. continue causes the next iteration of the loop to begin.
Execution will go to the test eXPression in a while or do loop, and to expression3 in a for loop. next reads the next record and starts the main input loop again.
[ 查看全文 ]