当前位置:Linux教程 - 编程技术 - 编程技术 - wk里有没有类似c语言里的break的命令

编程技术 - wk里有没有类似c语言里的break的命令

wk里有没有类似c语言里的break的命令
2004-04-23 15:18 pm
来自:Linux文档
现载:Www.8s8s.coM
地址:无名

和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.