| Description:
GoSub Branches unconditionally to
a specified label subroutine and
returns back on the Return statement. A subroutine
can contain more than one Return statement, but the
first Return statement encountered causes the flow
of execution to branch back to the statement immediately
following the most recently executed GoSub statement.
If you use Gosub ... Return subroutine, you
must ensure that a program is terminated before label
subroutine. See example. |