Boolean

The Boolean type represents truth values:

  • Values: True or False
  • Internally, True is all bits set (–1) and False is zero, but you rarely need to consider that directly.
Dim flag As Boolean = True
If flag Then
  Print("Flag is True")
Else
  Print("Flag is False")
End If