Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15765

VS 2010 [RESOLVED] there is no end if why

$
0
0
Code:

Public Function getkeystate(ByVal key1 As Integer) As Boolean
        Dim s As Short
        s = getasynckeystate(key1)
        If s = 0 Then Return False
        Return True
    End Function

why is there no error for the missing end if? why is there no else statement?
Thanks
George

Viewing all articles
Browse latest Browse all 15765


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>