While 循环的类型
| 解释 | 示例 |
|---|---|---|
While ... Do | While ... Do 循环对条件求值,如果条件为真,则对 Do 后面的表达式求值。 完成对表达式的求值后,再次对该条件求值,如果条件为 true,则再次对 Do 后面的表达式求值。它不断重复该过程,直到条件为 false 时为止。 | While condition Do expression |
Do ... While | Do ... While 循环对任何表达式求值一次。 然后对条件求值,如果条件为 true,则再次对表达式求值。该过程持续进行,直到条件为 false 时为止。 | Do expression While condition |
|
Business Objects,SAP 子公司 http://www.china.businessobjects.com/ 支持服务 http://www.china.businessobjects.com/support/ Web 上的产品文档 http://support.businessobjects.com/documentation/ |