Bizarre question: emulating GOSUB

BlitzMax Forums/BlitzMax Programming/Bizarre question: emulating GOSUB

Faking gosub:

Save the gosubed part as a "block" somewhere in memory. Everywhere it gosubs to that block, just paste the gosub block in and remove the "label" and gosub return statement.
Thats it, thats what gosub actually does.