Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
Imp Operator
All Operators
= Operator
Is Operator
OPERATORS: Eqv
Implemented in version 1.0
Eqv
The
Eqv
operator is used to perform a logical comparison on two exressions (i.e., are the two expressions identical), where the expressions are
Null
, or are of
Boolean
subtype and have a value of
True
or
False
.
The
Eqv
operator can also be used a "bitwise operator" to make a bit-by-bit comparison of two integers. If both bits in the comparison are the same (both are 0's or 1's), then a 1 is returned. Otherwise, a 0 is returned.
The order of the expressions in the comparison is not important.
Code:
<% =True Eqv True %>
<% =True Eqv False %>
<% =False Eqv True %>
<% =False Eqv False %>
Output:
True
False
False
True
Code:
<% Expression1 = True %>
<% Expression2 = False %>
<% =Expression1 Eqv Expression2 %>
Output:
False
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information