Action
Return from a subroutine.
Syntax
RETURN
Remarks
Subroutines must be ended with a related RETURN statement.
Interrupt subroutines must also be terminated with the Return statement.
See also
Example
Dim Result As Byte , Y As Byte
Gosub Pr 'jump to subroutine
Print Result 'print result
End 'program ends
Pr: 'start subroutine with label
Result = 5 * Y 'do something stupid
Result = Result + 100 'add something to it
Return 'return