Visual Basic Scripting Edition | 語言參考 |
對表達式執(zhí)行邏輯非運算。
result = Not expression
result
任意數(shù)值變量。
expression
任意表達式。
下表顯示如何確定 result 的值:
如果 expression 為 | 則 result 為 |
---|---|
True | False |
False | True |
Null | Null |
此外,Not 運算符將變量的位取反,并按下表設置 result 的相應位:
expression 中的位 | result 中的位 |
---|---|
0 | 1 |
1 | 0 |
版本 1
And 運算符 | 邏輯運算符 | 運算符優(yōu)先級 | 運算符概述 | Or 運算符 | Xor 運算符