OPERATORS: EQV
EQV
The EQV operator is used to perform a logical comparison
on two exressions.
(i.e., are the two expressions
identical)
The expressions must only be of Boolean
subtype (TRUE or FALSE).
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 by Infinite Software Solutions, Inc.
Trademark Information