vb程序运行时提示下标越界是什么意思
PublicFunctionmulti(A()AsDouble,B()AsDouble,nAsLong,n1AsLong,n2AsLong,c()AsDouble)AsD...
Public Function multi(A() As Double, B() As Double, n As Long, n1 As Long, n2 As Long, c() As Double) As Double Dim T1 As Integer Dim T2 As Integer Dim T3 As Integer For T1 = 1 To n1 For T2 = 1 To n2 For T3 = 1 To n c(T1, T2) = 0 c(T1, T2) = c(T1, T2) + A(T1, T3) * B(T3, T2) Next T3 Next T2 Next T1 End Function
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询