GOSUB text GOes to the SUBroutine that starts with label :text and which should have an ending RETURN somewhere. Without the actual code posted by you that's about all I can say.
_________________________
There are two types of vessels, submarines and targets.