Hi,
Except for the colon in the line GOSUB Init: I don't see any issues with this piece of code. Make sure ALL subroutines ends with a RETURN. If you GOTO something FROM a subroutine then makes sure THAT piece of code ends with a RETURN. That's all the advice I can give you ATM.
You'd be much better helped if you boil down your ACTUAL code to something small that still shows the error and post that.
/Henrik.
Bookmarks