布尔类型对象可以被赋予文字值true或者false,所对应的关系就是真与假的概念。
None False (布尔类型) 所有的值为零的数: 0 (整型) (浮点型) 0L (长整型) 0.0+0.0j (复数) "" (空字符串) [] (空列表) ...
基于12个网页-相关网页
因为只有两个可能值,所以布尔类型是惟一的。
Because there are only two possible values, the Boolean type is unique.
resolveToServer 属性是一个布尔类型的值;如果为真,它会将新的存储库解析为服务器基础目录,反之如果为假,它会将新的存储库解析为服务器基础存储库。
The resolveToServer attribute is Boolean; if true, it resolves the new repository to the server base directory, and if false, it resolves the new repository to the server base repository.
模仿位和布尔数据类型以及函数并非一定是一个挑战性的过程。
Emulating bit and Boolean data types and functions does not have to be a challenging process.
And here, I'm going to suggest we've seen numbers, we've seen strings, and I'm going to add Booleans here as well.
我要提醒下大家我们学习过数字数据了,学习过字符串了,今天还要学习布尔类型,这是当我们谈到条件的时候。
So we talked about Mr. Bool briefly last week in this idea of true or false, but in C, you don't have a Boolean data type.
我们上周简短地谈论过Bool先生的,真假的逻辑思想,但是在C语言里,没有布尔数据类型。
Can't use them on Booleans, they have a different set of things. They do things like AND, and OR. And of course there's a bunch of other ones in there, I'm not going to put them all up, but we're building up a little collection, if you like, of those operations.
这个方面的东西,它们不能被应用于布尔类型,布尔类型有其他的一系列操作,比如AND,和OR之类的,当然还有很多其他的,我不会把他们一一列出来,但是我们会学习这些操作的一部分。
应用推荐