The RETURN statement transfers control to the statement immediately following the most recently executed GOSUB or ON GOSUB statement in the current program unit. Example 800 RETURN