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

 

 

 

 

 

 

 

 

 

 

 

 

Null

The Null value is used to indicate a variable holds no valid value. Similar to the Empty constant which indicates a variable has not been defined yet, this constant indicates the variable has been defined, but it has been defined to be holding no valid value.

Dim sVar
' the following should fail - since sVar is Empty If IsNull(sVar) Then Response.Write "1: Var is Null<BR>"
sVar = null
' the following should succeed - sVar is Null If IsNull(sVar) Then Response.Write "2: Var is Null<BR>"

Orvado Technologies

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

Contact Us | Contribute | About | Site Map



"All programmers are playwrights and all computers are lousy actors." - Anon

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