The first conditional statement is used for input validation.
第一个条件陈述式用于输入验证。
Looking at the conditional statement, it looks like there's a missing then.
看看这个条件语句,可以看出缺少了then。
Example 8-2 shows how a script can become more complicated by using a conditional statement.
例8 - 2展示了如何通过使用一个条件语句来使脚本变得复杂。
The case statement is another conditional statement that you can use in place of using an if statement.
case语句是另一种条件型语句,您可以用该语句来替代if 语句。
Breakpoints can be set on the sequence diagram by using the RTC_BREAK conditional statement. (See Figure 14.)
您可以使用RTC _ BREAK状态性声明来在序列图上设置中断点(参见图14)。
Any of the relational operators you've seen earlier in this chapter can be used to produce a conditional statement.
本章早些时候接触到的所有关系运算符都可拿来构造一个条件语句。
A programming pattern that USES a conditional statement to check for and handle circumstances that might cause an error.
守卫:一种编程模式。使用一些条件语句来检验和处理一些有可能导致错误的情况。
Use the result in a conditional statement, assign the result to a variable, or pass it as an argument to another method.
请在条件语句中使用此结果,将此结果赋给一个变量,或将其作为参数传递给其他方法。
We need to write a conditional statement that will test what page is being viewed and define a variable based on the results of that test.
我们需要写一个条件语言来测试一下被浏览的网页,并且基于那个测试的结果来确定一个变数。
To distinguish the layout of this content from that of other pages, we used a conditional statement in the body of the page, like the one in Listing 3.
为了区分主页的布局和其他页面的布局,我们在页面的主体中使用一个条件语句,见清单3。
Listing 11 is best thought of as a giant conditional statement, which executes a particular branch based on the value of the o parameter in the request url.
清单11被视为一个庞大的条件语句,它基于请求url中的o参数的值执行一个特定的分支。
Assembly language instruction sequence perform arithmetic, and jump instruction by changing the program counter value to execute the conditional statement and circular statement.
汇编语言依序执行算术指令,而跳转指令可以通过改变程序计数器的值来执行条件语句和循环语句。
After adding the new condition, you will see a conditional statement dropdown menu, which will have options such as "Less than," "Less than or equal to," "Greater than", and so forth.
加入新的条件后,你就会看到一个下拉菜单式的条件语句,包括诸如“小于(Lessthan)”、“小于等于(Less than or equalto)”、“大于(Greater than)”等选项。
In general, you can replace a conditional statement with a conditional expression if both branches contain simple expressions that are either returned or assigned to the same variable.
一般来讲,你可以用条件表达式来替换掉条件语句,无论这些语句的分支是返回语句或者是赋值语句。
In a statement issued after a meeting in Gaza City, Hamas said its ceasefire was conditional on Israel stopping its attacks on the strip.
在加沙召开会议后发表的声明中,哈马斯表示,他们的停火是有条件的,以色列必须停止对加沙地带的攻击。
This line of code might look a little odd because it is a conditional requires statement.
这行代码看起来有点古怪,因为它是一个条件语句。
Then you use the conditional if statement to check the return code of the command.
然后,您使用条件型if语句,以检查该命令的返回代码。
This little piece of code shows the conditional if statement.
这一小段代码显示了条件型if语句。
Lisp also handles conditional constructs such as the if statement.
Lisp也处理条件结构,如if语句。
The statements on line 1, 2, and 3, and the comparison on line 4, all form one basic block that ends with the conditional jump implementing the if statement.
行是声明行,第四行上是比较,所有这些组成了以传统跳跃执行结尾的基本块。
Adding, removing, or changing the evaluation expression of a conditional compilation statement.
加入、移除,或变更条件式编译陈述式的评估运算式。
Adding, removing, or changing the evaluation expression of a conditional compilation statement.
加入、移除,或变更条件式编译陈述式的评估运算式。
应用推荐