Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

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