PaulSquires / WinFBE

FreeBASIC Editor and Visual Designer for Windows
https://www.planetsquires.com
GNU General Public License v3.0
156 stars 39 forks source link

Keyword "End" by itself will cause parser to exclude the sub/function from the functions list #52

Open PaulSquires opened 2 months ago

PaulSquires commented 2 months ago

Example code to show the problem:

Sub __quit(msg As String = "")
    db_write("(QUIT)")
    If Len(Trim(msg)) Then Beep : db_write(cTab & msg)
    set_removeImage()
    End
End Sub

Workaround:

Change End to End(0) or End(1)