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

Free Components

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, San Diego Web Design

ASP Nuke CMS
Free Open Source
Content Manager
GoSwap Auctions
Buy, Sell
No Fees!

Contact Us | Contribute | About | Site Map



"Never trust a computer you can't throw out a window." - Steve Wozniak

©2012 San Diego Web Design - Orvado Technologies, All Rights Reserved
ASP Nut provides articles and reference documentation for Active Server Page developers.