Search here for all the info you want in this Blog

Datatype Validation Functions


Datatype Validation Functions


VBScript offers a number of built-in functions to help you to inspect a variable:
q IsObject(variable) - Returns True if the specified variable is an object
q IsArray(variable) - Returns True if the specified variable is an array
q IsDate(variable) - Returns True if the specified variable can be converted to a date
q IsEmpty(variable) - Returns True if the specified variable is Empty
q IsNull(variable) - Returns True is the specified variable is Null
q IsNumeric(variable) - Returns True if the specified variable can be converted to a number
q TypeName(variable) - Returns the type name of the specified variable
q SubType(variable) - Returns the subtype code of the specified variable

No comments:

Post a Comment