VB6中函数参数的默认值

时间:2010-11-01 18:19:53

标签: vb6 function-parameter

如何在VB6中指定参数的默认值?

1 个答案:

答案 0 :(得分:28)

Private Sub SomeSub(Optional SomeParam As Integer = 0)
    ' blah
End Sub