When a subroutine is invoked using a invoke statement, the following steps take place in this order:
When a subroutine reaches it end define sub line, the following happens in this sequence:
The most crucial part is that the column labeled ``return line #'' does not exist until the invoke statement. This column also disappears immediately after the end define sub statement. In other words, as a subroutine is called, at least one column is created. As a subroutine returns (when it reaches end define sub), all the column(s) created for the subroutine disappear.
In this module, each subroutine only has one dedicated column. However, when we get into parameters and variables, we'll see that many columns can be created when a subroutine is invoked.
Copyright © 2006-10-12 by Tak Auyeung