Home  |  Latest News  |  Contribute  |  F.A.Q.  |  Account  |  Scripts | About
Search ASPNut:
 
ASP Reference
Server Variables
ASP Glossary
Related Sites

Free Components

HTML Reference
Web Colors
Entities
CSS Level 1
Encode/Decode
Glossary

Our Sponsors
ASP Nuke CMS
Free Auctions
PHP 5 Script
Funktastic Blog
ULost Directory
Team Task

 

 

 

 

 

 

 

 

 

 

 

 

Is

The Is operator will compare to objects and return true if they refer to the same object. This operator is primary intended for those people who are doing object-oriented programming.

The key to understanding this operator is to understand that the variable does not contain the object but rather contains a reference to an object. Multiple variables may hold a reference (in other languages similar to a pointer) to a single object.

Set sVar1 = Server.CreateObject("cdonts.mail")
Set sVar2 = sVar2
If sVar1 Is sVar2 Then Response.Write "Objects are the same"

Orvado Technologies

ASP Nuke CMS
Free Open Source
Content Manager
HomeFix Boards
Home Remodeling
Message Boards

Contact Us | Contribute | About | Site Map



"Life is wasted on the living." - Douglas Adams

©2007 Orvado Technologies, All Rights Reserved
ASP Nut provides articles and reference documentation for Active Server Page developers.