thinbasic suport the multilines strings such as
msgbox 0, "this is
a test
end sub
end"
will give you
msgbox.JPG
in your code note that end sub are in light red color ie the same as what is inside quotes, the debugger think that all words after the first quote are a string until he reaches the second quote. but there is no second quote. so it gives the correct info. ie "missing quote _ Line number 14"
it is not an excellent debugger, but informative, and sometimes good and sometimes very good.
Bookmarks