RETURN
Syntax
RETURN
Description
RETURN is used to return control back to the statement immediately following a previous GOSUB call. When used in combination with GOSUB, A GOSUB call must always have a matching RETURN statement, to avoid stack
Example
PRINT "Let's Gosub!"
GOSUB MyGosub
PRINT "Back from Gosub!"
END
MyGosub:
PRINT "In Gosub!"
RETURN
Differences from other BASICs
- a subset of the RETURN of Visual BASIC
- none from PBASIC