Main forum => Bug Reports => Topic started by: FutureCow on 2009-Jun-05
Title: Gosub to non-existant subroutine not caught by precompiler
Post by: FutureCow on 2009-Jun-05
If you attempt to gosub to a non-existant subroutine, the problem isn't caught by the precompiler. The error you get is something similar to
QuoteC:\glbasic\gpc_temp0.cpp: In function `int __GLBASIC__::__MainGameSub_()': C:\glbasic\gpc_temp0.cpp:22: error: `mysubroutine' was not declared in this scope
Title: Re: Gosub to non-existant subroutine not caught by precompiler
Post by: Kitty Hello on 2009-Jun-07
Yikes!
Title: Re: Gosub to non-existant subroutine not caught by precompiler
Post by: Kitty Hello on 2009-Jun-08