g
Printer Friendly Version

editor  
BellaOnline's ASP Editor
 

ASP Variable Testing Functions

It's important to test that your data is valid before you work with it. These variable testing functions do the trick!

IsArray Function
IsArray lets you know if you can do array functions on the variable.

IsDate Function
IsDate can be CRITICAL before you try to store a variable in a database - otherwise the database will choke on the row.

IsEmpty Function
IsEmpty lets you know if the variable has been initialized.

IsNull Function
Be sure to check for null values before you try to work with your variable.

IsNumeric Function
You'll want to be sure your variable has a numeric value before trying to add or subtract.

IsObject Function
IsObject will help you if you're doing work with OLE or ActiveX objects.

Introduction to ASP Ebook

Download this ebook to get everything you need to know about learning ASP - from a step by step tutorial to function lists, sample code, common errors and solutions, and much more! 101 pages.

This site needs an editor - click to learn more!

ASP Site @ BellaOnline
View This Article in Regular Layout

Content copyright © 2011 by Lisa Shea. All rights reserved.
This content was written by Lisa Shea. If you wish to use this content in any manner, you need written permission. Contact Editor Wanted for details.



| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2012 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor