快好知 kuaihz订阅看过栏目

 

逻辑值是计算机语言,意为逻辑状态下赋予的真或者假。逻辑值有两种情况:成立和不成立。成立的时候我们说逻辑值为真,使用True或1表示,不成立的时候我们说逻辑值为假,使用false或0表示。在程序设计里面,一般关系运算符的结果、逻辑运算符运算的结果都是逻辑值。

multiple-valued logic and continuous logic 多值逻辑与连续逻辑 orAllKeys: this reverses the default behaviors that involve a logical AND of all keys. orallkeys:这个修饰词使得默认的对所有键值的逻辑与操作的行为变成逻辑或操作的行为。 You can’t use a non-boolean as if it were a boolean in a logical expression as you can in C and C++. 与在c及c++中不同,不可将一个非布尔值当作布尔值在逻辑表达式中使用。 The returned businessList contains businessInfo structures matching any of the URL's passed (logical OR). 返回的businesslist包含了能够匹配传入的url值之一(逻辑或)的businessinfo结构。 As a result, all the parts of a logical expression might not be evaluated. 因此,一个逻辑表达式的所有部分都有可能不进行求值。

投稿
非常不爽,删了吧! 相关词条:其他