Futurebasic/Language/Reference/return

Syntax edit

RETURN

Revised edit

October 2, 2000 (Release 4)

Description edit

You should include at least one RETURN statement in every subroutine that is called by a GOSUB statement. RETURN causes the subroutine to "exit"; that is, it causes execution to continue at the statement following the GOSUB that called the subroutine. You may also return to a specific location using RETURN "label". This pops the return address from the stack, then jumps to the requested address.

See Also edit

GOSUB