过程调用问题
Sub ab(ParamArray number())Dim max
Dim min
max = number(0)
min = number(0)
For Each x In number
If max < x Then max = x
If min > x Then min = x
Next x
Print "最大数是:"; max; "最小数是:"; min
End Sub
Private Sub Form_Load()
Dim m(3)
For i = 0 To 2
m(i) = Val(InputBox("请输入:"))
Next i
ab m()
End Sub
请问哪里错;