Boolean 型
2 つのオペランドを持つ式の真の値を調べて、True (-1)、False (0)、または NULL を返します。各オペランドの真理値の 2 進表記のビットを比較し、比較から導き出された値を返します。
以下に例を示します。
Dim anInt% As Integer
anInt% = 5
Print (anInt% > 2) And (anInt% < 10)
' Both operands are True.
'Output:True
Print CInt((anInt% > 2) And (anInt% < 10))
' Output:True
Print CInt(True And True)
' Output:True