Return (statement)
Syntax | Return |
Description | Transfers execution control to the statement following the most recent GoSub . |
Comments | A runtime error results if a Return statement is encountered without a corresponding GoSub statement. |
Example |
This example calls a subroutine and then returns execution to the Main routine by the Return statement.
|
See Also | GoSub (statement). |