December 2001
Beginner
976 pages
22h 4m
English
The Boolean data type can hold two values, True and False; both True and False are keywords in Visual Basic. For example:
Dim b As Boolean = True
Boolean variables are used in various ways such as loop statements, as you will see later on in the book. The default value of a Boolean variable is False. That means if you don't initialize a Boolean variable when declaring it, it will be automatically initialized to False.
Read now
Unlock full access