Re: Better code check before compile?
How would the compiler or preprocessor be able to "match" a RETURN statement with a GOSUB?
Hi,
As one RETURN statement can match more than one GOSUB's ...
even math can't do anything for you ... just verify if there's at least one RETURN for one GOSUB ...or number of RETURN is smaller or equal than number of GOSUB
the only way is to run the debugger and verify you jump at the good moment or to the right location ...
for critical applications, only a GOTO - GOTO or multiple local subroutine INCLUDE could secure the code ...
but you also could wipe the critical line ...
Alain
Last edited by Acetronics2; - 26th December 2019 at 12:03.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks