wk里有没有类似c语言里的break的命令
2008-03-08 21:58:05 来源:WEB开发网 闂傚倸鍊搁崐鎼佸磹妞嬪孩顐芥慨姗嗗厳缂傛氨鎲稿鍫罕闂備礁婀遍搹搴ㄥ窗閺嶎偆涓嶆い鏍仦閻撱儵鏌i弴鐐测偓鍦偓姘炬嫹

核心提示:和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, o
和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.
更多精彩
赞助商链接