Features
Ask DevGuru
ASP Resources
Find the Bug
Knowledge Base
Links
Tips of the Week
Tutorials
Products
dgCalendar
dgCharge New!
dgChart New!
dgFileUpload
dgReport New!
dgSort
dgTree
Site
Authoring
Coming Soon
DevGuru Resume
Link to Us
Merchandise
Sponsorships
Testimonials
What's New
Technologies
ADO 2.6
ASP
CSS2
HTML
JavaScript
Jet SQL
Transact-SQL Syntax
VBScript
WML
WMLScript
WSH
XML DOM
All Operators
OPERATOR: Not
Implemented in version 1.0
Not
The
Not
operator is used to perform a logical negation on an expression. The expression must be of
Boolean
subtype and have a value of
True
or
False
. This operator causes a
True
expression to become
False
, and a
False
expression to become
True
.
The
Not
operator can also be used a "bitwise operator" to make a bit-by-bit inversion of the binary values of an integer. If the bit is a 1, then a 0 is returned. If the bit is a 0, then a 1 is returned. Thus, the binary value 101 becomes 010.
Code:
<% AnyExpression = True %>
<% =Not AnyExpression %>
Output:
False
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information