Lesson4 (2/22)

Boolean Variables and Expressions

As we learnt, String variables store text, and Integer Variables Store numbers.
Boolean variable stores one of the following constant values:
"True", or "False".

For example:
Dim Kuku As Boolean
Kuku = True
Dim YoYo As Boolean
YoYo = False


What are the True and False stand for?
They are the result of every "Boolean expression".

Boolean expression is like a question that the answer to it is "True" or "False"
For example:
Is 4 Plus 6 is 10? True
Is 2 bigger than 4? False

But the question How much is 4 Plus 6?
Is not a boolean expression, because its answer is 10 (and not True or False)
Examples of Boolean expressions in the next page.