This means the program statements executed in the loop body must change the value of the expression — or else the loop will never end.
这意味着循环体中执行的程序语句必须要改变表达式的值,否则循环将无法结束。
Developers often have tests cases in mind, but they realize them in many different ways: print statements, debugger expression, test scripts.
测试用例通常存在于开发人员的脑子里,但实现起来有不同的方式,如打印语句、调试器表达式、测试脚本。
Note that a single atomic business rule may manifest as a number of formal rule statements, each with a different formal expression type.
注意,一个原子业务规则可能以多个规范化规则语句的形式出现,每个规范化规则语句具有不同的规范化表达类型。
In effect, this traversal expression returns the objects of all statements with an RDF: type predicate.
实际上,该遍历表达式返回具有rdf:type谓词的所有语句的对象。
The while loop, as was the case with the if statement, supports an optional else clause containing a block of program statements executed when the expression is False.
while循环与if语句一样,支持一个可选的else子句,其中包含一个当表达式计算为False时执行的程序语句块。
The second type of flow control statement in Python is the while loop, which executes a block of program statements while an expression evaluates True.
Python中的第二种流控制语句是while循环,它在一个表达式计算为True时执行一个程序语句块。
The if statement supports an optional else clause that indicates a block of program statements that should be processed if the Boolean expression evaluates False.
if语句支持一个可选的else子句,指示当布尔表达式计算为False时应该处理的程序语句块。
The if statement, which executes a particular block of statements based on the result of a test expression.
if语句,它基于测试表达式的结果执行一个特定的语句块。
Up to this point, you've seen how the if statement can be used to execute one of two blocks of program statements, depending on the value of a particular Boolean expression.
至此,已经看到了if语句可以如何用于根据一个特定布尔表达式的值,来执行两个程序语句块中的其中一个。
The while loop, which executes a block of statements as long as a test expression is true.
while循环,它当一个测试表达式为true时执行一个语句块。
The regular expression support in Perl is excellent, and the sed examples above will all work as valid Perl statements.
Perl中的正则表达式支持非常优秀,并且上面的sed示例可以作为有效的perl语句正常工作。
Because Python requires indentation to offset the block of statements that should be executed if the expression evaluates True or False, the two print statements are both indented four Spaces.
因为Python需要缩进以错开当表达式计算为True或False时应该执行的语句块,所以两个print语句都缩进了4个空格。
For a select expression, such as XSL: apply-templates statements, the XPath is more flexible.
对于select表达式,比如说xsl:apply - templates语句,XPath更加灵活。
The body of a method declaration is made up of statements, which can be any kind of action (for example: for statement, if statement, or expression).
一个方法声明的程序体是由语句组成的,语句可以是任何类型的行为(例如:for语句、if语句、or表达式)。
Expressions like the one above must be avoided. When in doubt, break a large expression into multiple statements to ensure that the order of evaluation is correct.
像上面一样的表达式应该避免。当有歧义时,将一个复杂的表达式分解成多个陈述以保证赋值的顺序是正确的。
These statements also define the kinds of variables and parameters the programmer can choose and the type of value that the code will return when an expression accesses the procedure or function.
这些语句也规定程序员可以选择的变量与参数种类,以及当一个表达式使用过程或函数时代码将返回的值的类型。
Different person statements have different expression results, suiting different styles of type of writing.
不同的表述人称有不同的表达效果,切合不同行文的语体风格。
If a family member hurls generalizing statements at you, recognize the words as a single expression of anger.
如果有家人对你说了这种一概而论的话,权当他们在表达愤怒。
Expression statement or statements to increment or decrement the loop counters.
用于递增或递减循环计数器的一条或多条表达式语句。
Conditionally executes a group of statements, depending on the value of an expression.
依据运算式的值,有条件的执行一组陈述式。
One of the three financial statements is statement of Cash Flow, which is regarded as the true expression of a corporation.
现金流量表是三大会计报表之一,被财务专家、证券分析师誉为企业的“真金白银”。
One of the three financial statements is statement of Cash Flow, which is regarded as the true expression of a corporation.
现金流量表是三大会计报表之一,被财务专家、证券分析师誉为企业的“真金白银”。
应用推荐