Gosub to non-existant subroutine not caught by precompiler

Previous topic - Next topic

FutureCow

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

Kitty Hello


Kitty Hello