Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果您在 VBA 中评估以下内容,则输出为True:
True
(2 And 3) = 2
谁可以给我解释一下这个?谢谢!
你有:
2 (base 10) == 10 (base 2) 3 (base 10) == 11 (base 2)
执行按位与给出
10 (base 2) == 2 (base 10)
0 = false,在 VB 中其他一切都是 true
我试图找到一些 MS 的链接来解释这一点,但我找不到。