大小: 575
备注:
|
← 于2008-02-23 15:35:53修订的的版本14 ⇥
大小: 616
备注: converted to 1.6 markup
|
删除的内容标记成这样。 | 加入的内容标记成这样。 |
行号 1: | 行号 1: |
[[Navigation(slideshow)]] | ## page was renamed from Control Flow <<Navigation(slides)>> |
行号 3: | 行号 4: |
= Chapter 3 - Control Flow = | = Chapter 3 - Control Flow 控制流 = |
行号 7: | 行号 8: |
1. ["/3.1 Statements and Blocks"] 1. ["/3.2 If-Else"] 1. ["/3.3 Else-If"] 1. ["/3.4 Switch"] 1. ["/3.5 Loops - While and For"] 1. ["/3.6 Loops - Do-While"] 1. ["/3.7 Break and Continue"] 1. ["/3.8 Goto and Labels"] [[Navigation(children)]] |
程序设计语言中的控制流语句用于控制各计算操作执行的次序。在前面的例子中,我们曾经使用了一些最常用的控制流结构。本章将更详细地讲述控制流语句。 <<Include(^TCPL/3\..*,,titlesonly)>> |
<<Navigation: 执行失败 ['AllContext' object has no attribute 'values'] (see also the log)>>
Chapter 3 - Control Flow 控制流
The control-flow of a language specify the order in which computations are performed. We have already met the most common control-flow constructions in earlier examples; here we will complete the set, and be more precise about the ones discussed before.
程序设计语言中的控制流语句用于控制各计算操作执行的次序。在前面的例子中,我们曾经使用了一些最常用的控制流结构。本章将更详细地讲述控制流语句。