The return Statement
The return statement returns from a subroutine. The compiler automatically handles the return address for call and return when they are used with subroutines rather than threads. The syntax of the return statement is shown below.
return // return to calling routine