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 lets you know if you can do array functions on the variable.
IsDate can be CRITICAL before you try to store a variable in a database - otherwise the database will choke on the row.
IsEmpty lets you know if the variable has been initialized.
Be sure to check for null values before you try to work with your variable.
You'll want to be sure your variable has a numeric value before trying to add or subtract.
IsObject will help you if you're doing work with OLE or ActiveX objects.
ASP Function Listing
All content copyright © 2013 Minerva WebWorks LLC. All rights reserved.