是不是这样:
Private Sub LockBookTee(ArX() As Integer, ArY() As Integer, ArV() As Integer)
End Sub
调用:
dim arx(40), ary(40), arv(40) as Integer
call LockBookTee(... ' 这里应该怎样写???
...全文
362打赏收藏
怎样调用一个有数组为参数的函数?
我想声明一个函数,要求传入一个1维数组作为参数。我要在函数中修改这个数组参数的内容。但我应该怎样调用?? 是不是这样: Private Sub LockBookTee(ArX() As Integer, ArY() As Integer, ArV() As Integer) End Sub 调用: dim arx(40), ary(40), arv(40) as Integer call LockBookTee(... ' 这里应该怎样写???