False (constant)


Boolean constant whose value is False.


Used in conditionals and Boolean expressions.


This example assigns False to a, performs some equivalent operations, and displays a dialog box with the result. Since a is equivalent to False, and False is equivalent to 0, and by definition, a = 0, then the dialog box will display "a is False."

Sub Main()
  a = False
  If ((a = False) And (False Eqv 0) And (a = 0)) Then
    MsgBox "a is False."
    MsgBox "a is True."
  End If
End Sub

See Also

True (constant); Constants (topic); Boolean (data type).

More information