Quantcast
Viewing all articles
Browse latest Browse all 15522

VS 2010 [RESOLVED] there is no end if why

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 15522

Trending Articles



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