False (constant)

Description

Boolean constant whose value is False.

Comments

Used in conditionals and Boolean expressions.

Example

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."
  Else
    MsgBox "a is True."
  End If
End Sub

See Also

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

More information

F