This section contains 526 words (approx. 2 pages at 300 words per page) |
Parameter passing is a type of technique used to transfer parameters from a function or procedure to another function or procedure. There are certain functions that can operate well without needing outside parameters. It is also possible to access global parameters from a subroutine, function or procedure. Although these designs are possible parameter passing is sometimes the best solution when the programmer wants the function to be independent from the calling function. If parameter passing is employed the code for a particular function can be used in other projects, debugging this code will be greatly simplified, therefore less time consuming, and any subsequent versions of the function will not affect the entire program. This is a very useful technique since many complex programs are written in special pieces or functions where each has a defined task. Parameter passing allows the values or entities represented as parameters...
This section contains 526 words (approx. 2 pages at 300 words per page) |