There are three levels: no messages, messages that are not indented, and messages that are indented to show nested calls.
这里有三个级别:没有信息,没有缩进的信息,以及被缩进来表达被嵌套的调用的信息。
Indented-the Boolean value to indicate whether the TAB is indented.
indented——布尔值,表明选项卡是否缩进。
To distinguish between items from different fields, Mountain Bikes is indented under 2001 and the individual mountain bike models are indented even further under Mountain Bikes.
为了区别不同字段的项目,山地自行车在2001下面缩进,而各种山地自行车款式也在山地自行车之下再缩进。
And that set of things is identified by the sequence of commands that are indented in, this one right here, following the colon but before I get back to the same place in terms of the indentation.
这个集合就是,后面缩进的一系列命令,就是这一块,在冒号后面,但是要,通过缩进。
Right, so the fact that everything is indented means while 2 we're doing, while the variable is not equal to 2, keep doing this.
事实上缩进意味着,如果变量不等于,就重复我们现在所做的这个过程。
And I want you to get used to this, that colon is important, it identifies the start, and then the set of indented things identify all the things at the same level, and when we reset back to the previous level, that's when we go back to where we were.
我希望大家熟悉这个结构,冒号很重要,它定义了开始的地方,然后缩进号代表着,同样一层的对象,当我们到了,不缩进的地方的时候,也就到了以前的状态。
应用推荐