Legal Information |
|
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 |
This means tests can be combined. For example
If Name1>Name2 AND Name2>Name3 Then Goto NameCheck
Search Knowledge Base | Feedback |