Variable Procedure Calls in Free-Format RPG
March 31, 2010 Jon Paris
Note: The code accompanying this article is available for download here. In my previous tip, I detailed the prototyping technique required to enable program calls in free-format RPG to use a variable to control the target program. These days, most modern RPGers make extensive use of subprocedures, so can the same techniques be applied to procedure calls? The simple answer is “yes,” but the technique is slightly more complex than that used for program calls. The reason for this is unlike program calls, procedure calls normally have to be resolved at program creation time, i.e., during the binding |