VB中如何将数组作为参数传递
1个回答
展开全部
sub suba()
dim a(3) as integer
a(0)=3
if a(0)=a(1) then msgbox "ok" else msgbox "failed"
subb a
end sub
sub subb(param() as integer)
param(1)=3
end sub
dim a(3) as integer
a(0)=3
if a(0)=a(1) then msgbox "ok" else msgbox "failed"
subb a
end sub
sub subb(param() as integer)
param(1)=3
end sub
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询