单词 | if statement |
释义 | 例句释义: 计算机用条件语句,如果语句,条件判断语句,陈述 1. Therefore, our my-if statement has no runtime overhead whatsoever -- it is converted to a simple if at runtime. 因此,我们的my-if语句没有运行时开销——它在运行时转换为一个简单的if。 www.ibm.com 2. The if statement acts as simple error control, exiting our script if it does not find the file with a somewhat graceful error for our users. if语句将用作简单的错误控制,如果由于用户的小失误而导致它未找到文件,则退出脚本。 www.ibm.com 3. The return keyword is optional here and it is rarely used, except when returning out of the middle of a block (e. g. , in an if statement). return关键字在这里是可选的,而且很少被用到,除非在一段代码中间返回(比如在一个if语句块中)。 www.bing.com 4. Once you understand the if statement, the while loop is fairly simple to understand, as well. 理解了if语句之后,while循环理解起来就相当简单了。 www.ibm.com 5. The last if statement is never executed and is used to demonstrate how the pass statement is coded in a program. 最后一个if语句永远不会执行,只是用于演示如何在程序中编写pass语句。 www.ibm.com 6. By the way, notice the comments asserting what invariant we expect to hold in the body of each if statement. 顺便注意一下断定每个if语句正文中希望保留的不变量的注释。 www.ibm.com 7. The If statement checks for this condition and exits if it exists, preventing endless looping. 语句会检查此条件,如果它存在,则退出,从而防止无限循环。 msdn2.microsoft.com 8. Always use a curly brace scope in an if statement, even if it conditions a single statement. if语句总是使用括号,即使它包含一句语句。 www.chinaitpower.com 9. The simplest form of an if statement can be written on one line, but multiline if and if. Else statements are more common. 最简单的if语句形式可以写在一行内,但是通常使用多行if和if.else语句。 msdn2.microsoft.com 10. Always use a curly brace scope in an if statement, even if it contains a single statement. 在if语句块时使用大括号,即使其只含有一条语句 zhidao.baidu.com 1. To get past the last IF statement we simply populate the password with the user name in case of SSO. 为了通过最后一个IF语句,只需对于SSO用用户名填充密码。 www.ibm.com 2. Before we make it more useful, let's take a look at the "if" statement used above. 在使它更实用之前,先看一下上面使用的“if”语句。 www.ibm.com 3. Use an if statement to ensure that the data being dragged is of an acceptable type (in this case, text). 使用if语句来确保所拖动的数据类型为可接受的类型(在本示例中为文本类型)。 msdn2.microsoft.com 4. If you look at the configuration file, you can see that there are actually two prompts listed in an if statement. 如果你仔细看一下配置文件,你会发现实际上在if语句中有两个提示符。 www.bing.com 5. you'll see that an if statement was added, as well as a comment. 如果点击decl.cpp,会看到添加了一个if语句,还有一个注释。 www.ibm.com 6. The simplest flow control statement is the if statement, whose basic syntax is demonstrated in the pseudocode shown in Listing 4. 最简单的流控制语句是if语句,它的基本语法在清单4中的伪代码中演示了。 www.ibm.com 7. And " Discover Python, Part 5" introduces the concept of compound statements in Python, and the if statement and the while loop. “探索Python,第5部分”介绍了Python中复合语句的概念,并介绍了if语句和while循环。 www.ibm.com 8. Use an If statement to determine if the ReadLine method returns Nothing (which means no more text is available). 使用If语句来确定ReadLine方法是否返回Nothing(表示不再有可用文本)。 msdn2.microsoft.com 9. Before upgrading, Err. Number will always return 9 (Subscript out of range) and execute the first part of the If statement. 升级之前,Err.Number始终返回9(“下标超出范围”)并执行If语句的第一部分。 msdn2.microsoft.com 10. After executing the if statement, control is transferred to the next statement. 执行if语句之后,控制传递给下一个语句。 msdn2.microsoft.com 1. This statement is logically identical to the previous If statement but reads more naturally: if the object is not nothing, then. 这条语句与前面的If语句在逻辑上完全相同,但读起来更自然:如果对象不是Nothing,那么…… msdn2.microsoft.com 2. This control structure is an 'if' statement represented by a concrete list of plain Erlang terms. 这个控制结构是由一系列具体限制条件组成的一个“if”语句。 www.infoq.com 3. Do we put parentheses around the condition of an if statement? if语句里的条件加括号了么? kb.cnblogs.com 4. The controlling expression of an if statement or while loop evaluates to a constant. if语句或while循环的控制表达式的计算结果为一个常数。 msdn2.microsoft.com 5. Notice that the description of the cases in the Interactions pane now includes an "If" statement describing the condition. 请注意,在相互作用的窗格中描述的情况现在包括一个“如果”声明,说明这个情况。 www.fantuaner.cn 6. This restriction is accomplished by using an appropriate if statement with a continue statement. 此限制通过使用适当的if语句和continue语句来完成。 www.ibm.com 7. To avoid infinite iterations of LOOP statements, new EXIT and CONTINUE options to the IF statement are valid within LOOP statements. 为了避免LOOP语句的无限次迭代,在LOOP语句中可以使用IF语句的新EXIT和CONTINUE选项。 www.ibm.com 8. It's a safe bet that in a script this small, the error may be in the actual if statement. 对于这个小脚本,可以很有把握地猜测错误可能出现在实际的if语句中。 www.ibm.com 9. You can store this value in an integer or compare the value returned when you display the message box using an if statement. 可以整数形式存储此值;也可使用if语句,比较显示消息框时返回的值。 msdn2.microsoft.com 10. This check is part of an xsl: if statement rather than a predicate in the match expression. 该检查是xsl:if语句而不是match表达式中谓词的一部分。 www.ibm.com 1. That implies we'd have to change the final if statement considerably to allow for user name only, but only in the case of SSO. 这意味着必须修改最后一个IF语句,允许只有用户名的情况,但是这个逻辑只适用于SSO。 www.ibm.com 2. Fortunately, Python provides a simple extension to the if statement. 幸运的是,Python提供了if语句的一个简单扩展。 www.ibm.com 3. Like else, it extends an if statement to execute a different statement in case the original if expression evaluates to FALSE. 和else一样,它延伸了if语句,可以在原来的if表达式值为FALSE时执行不同语句。 dk.php.net 4. The first if statement handles the client connection messages and adds each display information to the %disp hash. 第一条if语句将处理客户机连接消息并把各个显示信息添加到%disphash中。 www.ibm.com 5. The if statement lets you read from the connection when data is available and process the requests immediately. 当数据可用时,if语句使您可以从连接进行读取,然后马上处理请求。 www.ibm.com 6. Even the most familiar language features are supercharged in Scala, let's have a look at the lowly if statement. 即使是最常见的语言特性在Scala里也被增强了。让我们来看看简单的if指令。 www.bing.com 7. Another new feature in Eclipse Galileo is the ability to generate blocks for the if statement. EclipseGalileo中的另一个新特性是为if语句生成代码块的能力。 www.ibm.com 8. Thinking back to basic shell scripting logic, an if statement consists of if, then, and fi. 回忆一下基本的脚本编程逻辑:if语句由if、then和fi组成。 www.ibm.com 9. Although you can do everything with a single XPath if statement, the code will be unwieldy. 虽然您可以使用一个XPathif语句实现任何操作,但是代码显得有些笨拙。 www.ibm.com 10. When the IF statement evaluates to FALSE, the statement, or block of statements, following the IF statement is skipped. IF语句取值为FALSE时,跳过IF语句后的语句或语句块。 msdn2.microsoft.com 1. When the IF statement evaluates to TRUE, the statement or block of statements following the IF statement are executed. IF语句取值为TRUE时,执行IF语句后的语句或语句块。 msdn2.microsoft.com 2. If statement execution returns an error, the procedure is automatically aborted or the transaction is rolled back. 如果语句执行返回一个错误,过程将自动中断或回滚事务。 www.ibm.com 3. The solution provided is remarkably simple: you add an extra if statement to the else clause. 提供的解决方案非常简单:给else子句添加一个额外的if语句。 www.ibm.com 4. But the code shows how to implement a large if statement with a more object-oriented solution. 但它展示了如何通过更加面向对象的解决方案来实现很大的if语句。 www.ibm.com 5. Isn't it nice how I can check if the directory exists via a simple if statement? 如果我能通过一个简单的if语言检查目录是否已经存在,会不会更好一些? www.ibm.com 6. If any of the arguments to IF are arrays, every element of the array is evaluated when the IF statement is carried out. 如果IF的参数包含数组,则在执行IF语句时,将计算数组中的每一个元素。 office.microsoft.com 7. The If statement in the preceding example checks the value of the parameter clockwise. 前面示例中的If语句检查参数clockwise的值。 msdn2.microsoft.com 8. Then you use the conditional if statement to check the return code of the command. 然后,您使用条件型if语句,以检查该命令的返回代码。 www.ibm.com 9. The problem isn't entirely in the if statement, but mostly in the amount of code in the if statement. 问题并不完全归结在if语句上,if语句中代码的数量才是最关键的。 www.ibm.com 10. The initial if statement adds the clause request. format. to_sym == : iphone. 初始的if语句将添加子句request.format.to_sym==:iphone。 www.ibm.com 1. Two threads can get inside of the if statement concurrently when instance is null. 当instance为null时,两个线程可以并发地进入if语句内部。 www.ibm.com 2. The if statement selects a statement for execution based on the value of a Boolean expression. if语句根据Boolean表达式的值选择要执行的语句。 msdn2.microsoft.com 3. With the if statement after the for loop, you also only display to the nurses the patients whose information is not yet approved. 通过for循环之后的if语句,可以仅向护士显示信息没有经过批准的患者。 www.ibm.com 4. When you are at the if statement, this_value is set to 3000 and top_value is still NULL. 位于if语句处时,this_value设置为3000,并且top_value仍旧为NULL。 www.ianywhere.com 5. This error says that there's a problem in line 12, but the line only has a fi completing the if statement. 错误消息指出问题出现在第12行上,但是这一行只有一个用来结束if语句的fi。 www.ibm.com 6. A value of NULL fails the test and the code inside the if. End if statement is not executed. 值为NULL会导致测试失败并且不执行if.endif语句中的代码。 www.ianywhere.com 7. Finally, there is an if statement that performs some cleanup on the tag output on the report. 最后,有一个if声明,会在报告上的标签输出执行一些清洁工作。 www.ibm.com 8. If so, the if statement executes a syntax off; otherwise it executes a syntax enable. 如果是的话,if语句将执行一个syntaxoff命令;否则它将执行syntaxenable命令。 www.ibm.com 9. You could do that using an if statement (see Listing 12). 应该使用if语句进行此工作(请参见清单12)。 www.ibm.com 10. Close the if statement, file loop, SFTP connection, and SSH session. 结束if语句、文件循环、SFTP连接和SSH会话。 www.infoq.com 1. The first if statement breaks the recursion if the list is empty, returning zero. 第一个if语句在列表为空的情况下中断递归,返回零值。 www.ibm.com 2. This code prevents lookups from being performed until the @If statement. 这段代码可防止在@If语句之前执行查找。 www.ibm.com 3. An instance variable and an if statement are used skillfully in the process of design, which solves the problem of picture flash. 在设计过程中,巧妙地使用了一个窗口实例变量和一个条件语句,解决了图片闪烁的问题。 www.dictall.com 4. The if statement interrupted our beginning LI tag and that second carrot in line 6 will close the tag we opened in line 1. if声明打扰了我们的开始L1标签,第六行的第二个carrot会关闭我们在第一行打开的标签。 www.zzbaike.com 5. This time the variable i becomes 125, and the first if statement evaluates False. 这次变量i变成了125,并且第一个if语句计算为False。 www.ibm.com 6. As a result, the body of the second if statement is executed when the value of the variable i is evenly divisible by 125. 因此,当变量i的值能被125整除时执行第二个if语句体。 www.ibm.com 7. The following example uses PRINT inside an IF statement to return a message when the number of the Hex Nut 17 product falls below 1100. 下面的示例在IF语句使用了PRINT,以在HexNut17产品编号低于1100时返回消息。 msdn2.microsoft.com 8. The IF statement is used to test for a condition. IF语句用于条件的测试。 msdn2.microsoft.com 9. First else if statement: Otherwise, if the tag ($newTag) being closed is equal to the open tag ($openTag), then no error results. 第一个elseif语句:另一方面,如果关闭的标记($newTag)与打开标记($openTag)相等,则不会出现错误。 www.ibm.com 10. Second, I don't care for the binary catch-all of the if statement. 其次,我并不关心if语句的二进制总受器(catch-all)。 www.ibm.com 1. The if statement executes a block of program statements if a Boolean expression evaluates True. if语句在一个布尔表达式计算为True时执行一个程序语句块。 www.ibm.com 2. However, unlike DB2, the END IF statement does not require a semicolon. 但是,与DB2不同的是,ENDIF语句不需要使用分号。 www.ibm.com 3. Say we wanted to write a more verbose version of the if statement than the one Scheme offers. 假设我们想编写一个比Scheme提供的版本更详细的if语句版本。 www.ibm.com 4. In the preceding example, the second IF statement is also the value_if_false argument to the first IF statement. 在上例中,第二个IF语句同时也是第一个IF语句的value_if_false参数。 office.microsoft.com 5. Example : In some contexts, IF characterizes an if-statement. 例如,在某些上下文中,IF表示一种条件语句。 tr.bab.la 6. The if statement in flitter_form may puzzle you. flitter_form中的if语句可能会让你感到疑惑。 www.ibm.com 7. So lets add the walk and run code into this IF statement. 因为让我们在IF声明里添加走和跑的代码。 blog.sina.com.cn 8. In the following example a Boolean flag flagCheck is set to true and then checked in the if statement. 下面的示例将Boolean标志flagCheck设置为true,然后在if语句中检查该标志。 msdn2.microsoft.com 9. The result is an else if statement, which is shortened to elif, as demonstrated in Listing 6. 结果是一个elseif语句,简写为elif,如清单6所示。 www.ibm.com 10. Similarly, the third IF statement is the value_if_false argument to the second IF statement. 同样,第三个IF语句是第二个IF语句的value_if_false参数。 office.microsoft.com 1. The if statement on line #1 compares the values of variables a and b. 第1行上的if语句将比较变量a和b的值。 www.ibm.com 2. The first if statement makes sure that we only generate a script if we really need to. 第一条if语句将确保在确实需要时只生成一个脚本。 www.ibm.com 3. Listing 2 shows an example procedure that contains an IF statement. 清单2展示了一个包含IF语句的示例过程。 www.ibm.com 4. You should use the if statement if you want to execute some code only if a specified condition is true. 你应该在代码在只有一个状态为真的情况下就执行的时候使用这条语句。 www.netvtm.com 5. The first if statement evaluates True, because 5 isn't evenly divisible by 25. 第一个if语句计算为True,因为5不能被25整除。 www.ibm.com 6. They are equivalent to the IF statement used with DB2. 它们与DB2中使用的IF语句等效。 www.ibm.com 7. Unchanged no matter how long if statement. 不管多长时间不变的若言。 women.zhishi.sohu.com 8. As a simple example, you could have written the if statement like this and achieved the same result 作为一个简单的例子,您也可以像下面这样来编写if语句,而结果是一样的 www-128.ibm.com 9. For example, if you have a complicated if statement, some branches may modify one variable while others modify other variables. 例如,如果您拥有一个复杂的if语句,有些分支可能会修改某个变量,而其他分支可能会修改其他变量。 www.ibm.com 10. As an example, let's examine the parsing of an if statement whose syntax look like the following 作为一个示例,让我们来解析一个if语句,它的语法如下所示 www.ibm.com 1. If statement- use this statement if you want to execute a set of code when a condition is true 如你想当一条件为真就执行一段代码的话可以使用这个声明 www.86oo.com 2. Accomplishing it is as simple as throwing an IF statement inside of our intercepting filter 完成这一点可以简单到在我们的拦截过滤器中放一个IF语句 www.infoq.com 3. This is because this time, the if statement on line 2 is now true, and "o" is simply returned. The recursion unwinds as follows 这是因为这一次,第2行中的if语句现在为true,并且简单地返回了“o”。 www.ibm.com 4. The following code shows one possible solution by breaking if statement into two separate parts 下面的代码通过将if语句分成两个单独的部分来演示一种可能的解决方案 msdn2.microsoft.com 5. Within the empty if statement, add this line 在空白的if语句中,添加下列代码 www.ibm.com 6. Within the if statement, add this code 在if语句中,添加下列代码 www.ibm.com 7. if statement - use this statement if you want to execute some code only if a specified condition is true 这条语句一般是在代码在只有一个状态为真的情况下就执行的时候使用 blog.sina.com.cn |
随便看 |
|
英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。