function multi(a as integer,b as integer,optional third) dim n as integer n = a * b if not ismissing (third) then n = n * thid end if multi = n end function ------------------------------------------------------------------------ private sub command1_click() dim a as integer,b as integer dim x as integer a = 2 : b = 3 x = multi (a , b , 2) print x end sub
您好,我想问一下 not ismissing (third) 是什么意思. 如果下面的实参中没有第三个参数话 not ismissing (third)又是什么意思.我是新手,谢谢大家!!!!http://topic.csdn.net/t/20010323/13/87952.html
VB中callbacke function 如下: Public Function EnumChildProc(ByVal hwnd As Long, ByVal lParam As Long) As Long Dim slength As Long, WndTitle As String ' title bar text length an ......