Hey! I think I've found a bug, here is simplified code showing it:
10 SimplePrint=-1
20 if SimplePrint then gosub 40 else gosub 50
30 end
40 return
50 return
When I run it: Syntax Error in 20
The error occurs only when If expression is true. I've checked in GW-Basic to be sure, this code is valid