ASP   «Prev 

Data-type Testing Functions

  1. tbaIsArray (expression)
  2. IsDate (expression)
  3. IsEmpty (expression)
  4. IsNull (expression)
  5. IsNumeric (expression)
  6. IsObject (expression)
  7. VarType (expression)
The data being tested (inside the parentheses) can be any expression[1] or variable. These functions typically return the values True or False, although the function VarType can return any of a number of values (shown below).

0Empty (uninitialized) variable
Uninitialized [variable value]: A variable that has no value assigned to it.
1Null (no valid data)
2Integer
3Long Integer
4Single-precision floating-point number
5Double-precision floating point number
6Currency
7Date
8String
9Automation object
10Error
11Boolean
12Variant (used only with arrays of Variants)
13Non-Automation object
17Byte
8192Array

XML DOM Element Type Constants (from file ActionPageUtil.asp):

Constants to use as values for the CreateNode method of the XMLDOM.
Constants:


NODE_ELEMENT, NODE_ATTRIBUTE, NODE_TEXT, 
NODE_CDATA_SECTION, NODE_ENTITY_REFERENCE, NODE_ENTITY, 
NODE_PROCESSING_INSTRUCTION, NODE_COMMENT, NODE_DOCUMENT, 
NODE_DOCUMENT_TYPE, NODE_DOCUMENT_FRAGMENT, NODE_NOTATION 

[1] Expression: A combination of variables, constants, and operators that produces a value.