該文將教你如何在asp中判斷變量是不是數組。 asp判斷變量是否為數組的方法:IsArray(varname)如果變量是數組,IsArray 函數返回True;否則,函數返回False。下面的示例利用IsArray 函數驗證strs 是否為一數組: Dim strs Dim strs(3) strs(0) =Sunday strs(1) =Monday strs(2) =Tuesday response.write IsArray(strs)