Explanation of the Xor,eqv,imp logical operators in ASP

Source: Internet
Author: User
Tags logical operators

Or is two conditions at least one is true, then the result is true.

And XOR is only one of the two conditions for true when the result is true, that is, only one real time to set up, two are true when the result is false, this is different from or.

Eqv, it is as long as two conditions are true or false when the result is true, a true false when the result is false.

IMP is a bit more complicated, but just remember two points:
1/Two conditions are in order.
2/As long as the first condition is false, or the second condition is true, the result must be true.

IMP is one of the hardest to remember.
First, the conditions are in order.
The second is that the condition is not only true False but also multiple Null
Three is a bitwise comparison


The result is true when the condition is false, or if condition two is true
Only the condition one is true, and if the condition two is false, the result is false
Other is null



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.