似乎和ASP么啥关系,是不是VB函数参数传数组的问题?
网上抄了段代码,据说调试能过
Private Sub Command1_Click()
Dim x(9) As Integer
Dim i As Integer
For i = 0 To 9
x(i) = i
Next
Call iArr(x)
End Sub
Private Function iArr(arr() As Integer) As Integer
Dim i As Integer
For i = 0 To UBound(arr)
Debug.Print arr(i)
Next
End Function