Article ID: 129938
Article Last Modified on 12/9/2003
Sub X ()the End Sub statement is not generated, and the Sub X() statement appears as part of the subroutine that follows it.
#if WIN32 then
Sub MySubWin32version(x)
#else
Sub MySubWin16version(x,y)
#endif
' ...
End Sub
In this case, you would not want two End Sub statements generated for your
two Sub statements. If you move off the first Sub statement with the ENTER
key and the second Sub statement with the mouse or arrows, this procedure
is generated correctly. As Visual Basic cannot anticipate which case will
require End Sub and which will not, you are given explicit control.
Sub Test()
Sub Test() Private Sub Form_Load() End Sub
Sub Test() End Sub
Additional query words: 4.00 vb4win vb4all
Keywords: kbprb KB129938