Futurebasic/Language/Reference/return
From Wikibooks, open books for an open world
< Futurebasic | Language | Reference
Contents |
[edit] Syntax
RETURN
[edit] Revised
October 2, 2000 (Release 4)
[edit] Description
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.
[edit] See Also
GOSUB
This page may need to be