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

 

 

 

 

 

 

 

 

 

 

 

 

Nothing

The Nothing constant is used to represent a non-existant object. It is primary used to destroy an object when doing object-oriented programming.

You must use the Set keyword when assigning an object variable Nothing. Just like you would normally assign a new object to a variable, you also assign it nothing as shown in the sample below:

Set oMail = Server.CreateObject("CDONTS.mail")
' perform some action here ... send an email Set oMail = Nothing

Orvado Technologies

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

Contact Us | Contribute | About | Site Map



"You have not converted a man because you have silenced him." - John Morley

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