RETURN without GOSUB
You executed a Return statement without having first transferred control in the procedure to a labeled statement using a GoSub statement or an On...GoSub statement.
Use a GoSub or On GoSub statement to transfer control to a labeled statement before executing a Return statement.