vb 获取作为函数参数的二维数组的大小
比如这段代码:Funtionfun1()Dima(0tom,0ton)asLongfun2aEndFunctionFunctionfun2(Byrefa()asLong)...
比如这段代码:
Funtion fun1()
Dim a(0 to m,0 to n) as Long
fun2 a
End Function
Function fun2(Byref a() as Long)
'就在这里我先知道m和n是多少
End Function 展开
Funtion fun1()
Dim a(0 to m,0 to n) as Long
fun2 a
End Function
Function fun2(Byref a() as Long)
'就在这里我先知道m和n是多少
End Function 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询