Futurebasic/Language/Reference/return
Appearance
Syntax
[edit | edit source]RETURN
Revised
[edit | edit source]October 2, 2000 (Release 4)
Description
[edit | edit source]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 | edit source]GOSUB