请参阅以下代码:
Public Sub MyFunction1(ByVal CodeNo As Integer)
Dim thread As New Thread(AddressOf MyFunction2)
thread.Start()
End Sub
Private Sub MyFunction2(ByVal CodeNo As Integer)
Debug.Print CodeNo
End Sub
应该如何提供参数值MyFunction2
?
为什么编译器让这个编译和执行CodeNo
设置为0
?