Chapter 5 - VB.Net by Schneider
15
Common Error in Boolean
Expressions
•
A common error is to replace the
condition
Not ( 2 < 3 )
by the condition
•
( 2 > 3 )
•
The correct replacement is
( 2 >= 3 )
•
Because >= is the opposite of <, just as
<= is the opposite of >