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
Eqv Operator
= Operator
OPERATORS: Is
Implemented in version 1.0
Is
The
Is
operator is used to determine if two variables refer to the same object. The output is either
True
or
False
.
Code:
<% Set object1 = Request.ServerVariables("SCRIPT_NAME") %>
<% Set object2 = object1 %>
<% =object1 Is object2 %>
Output:
True
Code:
<% Set object1 = Server.CreateObject("Scripting.FileSystemObject") %>
<% Set object2 = Request.ServerVariables("SCRIPT_NAME") %>
<% =object1 Is object2 %>
Output:
False
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information