You do this by using logical operators.
您可以使用逻辑运算子来完成这项动作。
Another important set of operators in UNIX is the logical operators.
UNIX中的另一组重要操作符是逻辑操作符。
And the subexpressions can be combined using the and, or, and not logical operators.
而子表达式又可使用and、or和not逻辑运算符组合起来。
When dealing with logical operators you run into a phenomenon called" short circuiting."
操作逻辑运算符时,我们会遇到一种名为“短路”的情况。
The logical operators or, and, NOT and XOR can be used with a specified search proximity.
逻辑或营办商,并没有和异或可用于与指定的搜索距离。
Although and [] use the same test operators during evaluation, they use different logical operators.
尽管和[]在运算期间使用相同的测试操作符,但是它们使用不同的逻辑操作符。
You can combine tests that are allowed for the test command using parentheses and logical operators.
可以用括号和逻辑操作符把test命令支持的测试组合起来。
The actual precedence of the logical operators is given by the order these operators are presented in Table 2.
逻辑运算符的实际优先级就是表2中罗列这些运算符的顺序。
You can combine or modify search conditions using the standard logical operators listed in the following table.
您可以使用下表所列的标准逻辑运算子合并或修改搜寻条件。
One interesting point about the or and the and logical operators in Python is that they are both shortcut operators.
在Python 中,关于or和and 逻辑运算符有意思的是,它们都是快捷运算符。
To test a bit field to determine whether a specific enumeration value is present, use the Boolean logical operators.
若要测试位元栏位,判断特定列举值是否存在,请使用布林逻辑运算子。
Find mode on our platform can accommodate logical a wide array of operators, logical operators, wildcard string searches, etc.
我们的平台上的发现模式能够提供广泛的运算符、逻辑运算符、通配符字符串搜索等。
If you've read any of my previous articles (see Resources), you'll notice that I favor logical operators over writing several lines of code.
如果您读过我以前的文章(参见参考资料),就会注意到我喜欢使用逻辑操作符,而不是编写多行代码。
Unless this is so, the Boolean logical operators will not be able to extract the individual enumeration values that are stored in the field.
除非情况如此,否则布林逻辑运算子就无法抽取栏位中所储存的个别列举值。
Provides links to topics such as how to use expressions in queries, what logical operators, and how to include user-defined functions in queries.
提供指向介绍如何在查询中使用表达式、在查询中可以包括哪些逻辑运算符以及如何在查询中包括用户定义函数的主题的链接。
By using a simple function like exit_msg and a few logical operators, the script could be condensed into the better-looking and easier-to-understand program shown in Listing 14.
只需使用exit_msg这样的简单函数和几个逻辑操作符,这个脚本就可以简化成更漂亮更容易理解的程序,见清单14。
You can use logical operators with test categories to run tests from multiple categories together or to limit the tests that you run to tests that belong to multiple categories.
可以在测试类别中使用逻辑运算符,从而运行来自多个类别的测试,或将运行的测试仅限于属于多个类别的测试。
The logical operators have lower precedence than the individual comparison operators, which makes sense because the comparison has to be evaluated before the logical operator can be evaluated.
逻辑运算符的优先级低于单独的比较运算符,这一点意义重大,因为必须先计算比较运算符,然后才能计算逻辑运算符。
However, all the logical and comparison operators consistently return the value 1 for true.
然而,所有逻辑和比较运算符都全部返回值1,表示真。
In KSH, the default shell used in AIX, as well as other shells used in UNIX and Linux, it's important to know how to use test, logical, and substitution operators.
在ksh (aix中使用的默认shell)中,以及UNIX和Linux使用的其他shell中,一定要知道如何使用测试、逻辑和替换操作符。
LPD is translated into logical chains by constructing logical chains instead of preference operators.
提出基于LPD偏好算子的逻辑链构造方法。
There are mathematical, comparison, logical, and reference operators.
有数学、比较、逻辑和引用运算符等。
The arithmetic and concatenation operators have the order of precedence described in the following section, and all have greater precedence than the comparison, logical, and bitwise operators.
算术和串连运算子优先顺序如下节所述,其优先顺序都高于比较运算子、逻辑运算子和位元运算子。
However, mathematical operators are not the only operators you are given. There are Boolean operators to help you with logical circuits or logical decisions.
不管怎样,数学操作符是不仅仅是你给出的操作符。有一些布尔型的操作符还能够帮助你用合理的思路或合理的逻辑判定。
However, mathematical operators are not the only operators you are given. There are Boolean operators to help you with logical circuits or logical decisions.
不管怎样,数学操作符是不仅仅是你给出的操作符。有一些布尔型的操作符还能够帮助你用合理的思路或合理的逻辑判定。
应用推荐