BB___RETURN

=RETURN= toc

Description
> This statement causes program execution to continue at the next statement after a GOSUB command was issued. RETURN is the last statement in a block of code that is called by the GOSUB command.

> See GOSUB

Syntax

 * 1) return

Example
code format="vbnet" print

' send program to a gosub routine print "leaving main program ..." gosub [myBranchLabel] ' back from gosub routine print "I'm back!" end ' the gosub label [myBranchLabel] print "entered procedure ..." print "working ..."

' go back to line following gosub print "leaving procedure ..." return code

Useful Functions
code format="vbnet" Place a useful function using this command here code