如何突破VB递归的限制?
到6448 就 Out of stack space了,测试程如下:
Private Sub Command1_Click()
xloop 1
MsgBox "done"
End Sub
Sub xloop(x As Long)
Debug.Print x
If x < 10000 Then xloop x + 1
End Sub
...全文
887打赏收藏
如何突破VB递归的限制?
如何突破VB递归的限制? 到6448 就 Out of stack space了,测试程如下: Private Sub Command1_Click() xloop 1 MsgBox "done" End Sub Sub xloop(x As Long) Debug.Print x If x < 10000 Then xloop x + 1 End Sub