·  VB - Syntax - Variables - Boolean

 

- Info:

  - This tutorial shows how to create Boolean and convert it to other Data Types.

  - Boolean data types is 16-bit variable which can store values True or False.

 

- Procedure:

  - Create VB Application Test.vb

 

    Test.vb

    Sub Main()

    

      'CREATE.------------------------------------------------------------

      Dim value As Boolean

          value = True

          value = False

    

      'DISPLAY.-----------------------------------------------------------

      MsgBox(value)

    

    End Sub