Claton Hendrikcs said:
Hi Guys!
Can any one Explain what is the difference between the
EQV and AND function and the IMP and OR Funtions
They are operators, not functions. Have you looked at the VB help
topics for these operators? They have input/result tables that ought to
make the differences clear.
Note that these operators may be used as logical conjunctions or as
bitwise operators. When used as logical conjunctions, this is how they
work if neither operand is Null:
a AND b --> True if both a and b are True; False otherwise.
a EQV b --> True if both a and b are True or both a and b are False;
False otherwise.
a OR b --> True if either a or b is True, or if both are True.
a IMP b --> True if a and b are both True, or if a is False.
Essentially, it's an assertion that "a implies b"; that is, if a is
true, b must be true, but if a is false, b maybe true or false without
affecting the truth of the assertion.
There are special rules that come into play for each operator when
either of the operands is Null. See the help file topic for details.
When used as bitwise operators, the same logic is applied as stated
above, but for each pair of bits in the operands rather than for the
truth or falsehood of the operands as a whole.