Quote Originally Posted by sayzer View Post
Instead now, I am using flags being set to zero before going to a subroutine, and set the flags if something inside the subroutine is used.

Then at the end of the subroutine(s), I am using a kind of select case with "GOTO".

This way, I don't have any "return" address to care for.

Hi SAYZER,

I do not get what you mean by "return" address care ... why can't you just match each "gosub" with a "return" and let PBP do the work.