1.Array() FUNCTION: Returns a variant containing an array. SYNTAX: Array(list) ARGUMENTS: list is a comma-delimited list of values to add to the array. EXAMPLE: <% Dim myArray() For i = 1 to 7 Redim Preserve myArray(i) myArray(i) = WeekdayName(i) Next % RESULT: Creates...[ 查看全文 ]
21. IsObject() FUNCTION: Returns a boolean value indicating whether an expression refers to an automation object. SYNTAX: IsObject(expression) ARGUMENTS: expression is any valid expression. EXAMPLE: <% Set con = Server.CreateObject("ADODB.Connection") response.write IsObject(con) % RESULT: Tru...[ 查看全文 ]