"卡"住了,帮忙解决一下,比较棘手
是这样的,函数function leiji()
if 条件 then
For j = LBound(aryReturn) To UBound(aryReturn)
a=5
count=count+a
...
if 条件符合 then
call leiji()
end if
next
else
return count
函数结束
end function
当有大于两次以上for循环且if语句也是多次符合条件时,UBound(aryReturn)记录的是最后一次调用leiji()时的值,然后结束函数,怎么浏览,当j=0或1时UBound(aryReturn)是多少???怎么获取??