conditional expression

条件表达式:在编程中
常用释义
条件表达式:在编程中,用于根据一个条件来决定执行哪个代码块的表达式。

例句

1·A filter is a conditional expression that is used to select rows.

过滤器是一个条件表达式,用于选择行。

2·An overloaded function in a conditional expression cannot be evaluated.

无法计算条件表达式中的重载函数。

3·Listing 1 shows the conditional expression that ensures the deposit is positive.

清单1显示了确保存款为正数的条件表达式。

4·In addition, code assist is available when typing in the conditional expression.

除此之外,在输入条件表达式时,也可以使用代码帮助。

5·The test of a conditional expression occurs before the execution of the loop.

条件表达式的测试发生在执行循环之前。

6·To do this, we can use following conditional expression for each Data Item (Figure 21).

为此,可以针对每个Data Item使用以下条件表达式(见图21)。

7·Listing 5 shows an example of this using SimpleXML and XPath with a conditional expression.

清单5显示了一个结合使用SimpleXML和XPath以及条件表达式的示例。

8·In the COBOL system, the information represented by a data item, arithmetic expression, or conditional expression.

在COBOL系统中,由一个数据项、算术表达式或条件表达式表示的信息。

9·The update is then made with a conditional expression to only update if this field is the same as when the data was read.

然后,用条件表达式进行的更新只会在该字段就是数据被读出的那个字段进行。

10·When we embed a conditional expression in a larger expression, we usually must parenthesize the conditional subexpression.

当我们要在一个更大的表达式中嵌入条件表达式时,通常必须用圆括号把条件表达式括起来。