# Why "0"?

Posted by Eric on January 28, 1999 at 14:25:38:

请问各位高手：
以下的一段程式，
Public NumTimes as Integer

Private sub cmdOK_Click()
Dim intNumTimes as Integer
intNumTimes = intNumTimes + 1
SetOK intNumTimes
MsgBox NumTimes
End Sub
Public Sub SetOK_(NumTimes as Integer)
NumTimes = NumTimes + 1
End Sub

为何在按下CommandButton后，MsgBox会出现"0"，而不是"2"?
请各位帮忙解惑！！
谢谢

Follow Ups:

- Re: Why "0"? fish 17:10:52 1/28/99 (0)