Probably you've got a
Return and you have called
Gosub (as it says), but the compiler hasn't picked up on the problem until now.
This code will (should) cause the error:
Whereas this code is how it should work:
gosub thing
end
thing:
answer=42
return
Tip: You should
always have an
End statement before any... umm... what are they called? The "thing:" gosub/goto things.... The following code will still get the error, even though gosub is called, because the code will go into the gosub, return, and continue running down into the gosub again:
gosub thing
thing:
answer=42
return