如果你试着输入 Lisp 不能理解的东西,它会打印一个错误讯息,接著带你到一种叫做中断循环(break loop)的顶层。 中断循环给予有经验的程序员一个机会,来找出错误的原因,不过最初你只会想知道如何从中断循环中跳出。
基于20个网页-相关网页
circuit loop break 线路断开
recirculation loop break 再循环回路破裂
break up loop 解环研究
loop break 末端钩环
control loop break 控制回路断线
loop-break dialing 环路断续拨号
This loop will print out the page number and page headers at each page break.
这个循环将在每一个分页处打印出页编号和页眉。
One special feature of the break statement is that it breaks completely out of the loop, thereby skipping any else clause that follows the loop.
break语句的一个特殊特性是,它完全中断循环,并跳转到循环下面的任一个else子句。
The basic syntax of a for loop is shown in Listing 1, which also demonstrates how to use continue and break statements within a for loop.
清单1中显示了for循环的基本语法,还演示了如何在for循环中使用continue和break语句。
应用推荐