3 Subroutine invocation and returning

When a subroutine is invoked, two operations occur:

When execution reaches the end of the a subroutine, marked “end define sub” in pseudocode, the following two operations occur:

 3.1 Basic subroutine control flow
 3.2 Multiple invocation
 3.3 Invoke from a subroutine
 3.4 Invoke from self