The GOTO label statement can unconditionally exit from a loop and transfer control to the executable statement or statement block that follows the specified statement label.
GO TO标签语句可以无条件地退出循环,并将控制权转移到跟在指定的语句标签之后的可执行语句或语句块。
By adding a simple function to display a message and exit with the appropriate return code as well as moving everything into a for loop, the script looks cleaner and is easier to understand.
这个脚本增加了一个简单的函数来显示一个消息并带适当的返回码退出,还把所有操作转移到一个for循环中,这使这个脚本看起来更干净、更容易理解了。
A loop that has no exit and whose execution can be interrupted only by intervention from outside the computer program in which the loop is included.
没有出口的一种循环,只能用包含该循环的计算机程序之外的干预来中断。
应用推荐