example of your code using gosub:
if object collision(1,2) then gosub Lose:goto Start
Lose:
Set Cursor 160,160
Print "You Survived For ";currentTime#;" seconds!"
Print " Press Any Key To Restart Game "
Print " Or Press Escape To Exit "
Suspend for key
return
and a function...
if object collision(1,2) then Lose():goto Start
function Lose()
Set Cursor 160,160
Print "You Survived For ";currentTime#;" seconds!"
Print " Press Any Key To Restart Game "
Print " Or Press Escape To Exit "
Suspend for key
endfunction
(Although these methods still use one goto...)
hope this helps, although Im not sure what your asking...
Part of solving the problem is actually noticing that the problem is there in the first place