Legal Information
PC Knowledge Base - Logical Operators in Visual Basic

Good Knowledge Is Good2Use

In addition to conditional operators, there are a few logical operators which offer added power to the VB programs. There are shown below.
Operator Meaning
And Both sides must be true
Or One side or other must be true
Xor One side or other must be true but not both
Not Negates truth
Logical Operators

This means tests can be combined. For example

If Name1>Name2 AND Name2>Name3 Then Goto NameCheck



Search Knowledge Base Feedback
If you like our web site refer a friend.
Your friends name.
Your friends email address.
Your Name
Your Email Address


© Copyright 1998-1999 GOOD2USE