Home » Programming
7
Subprograms
A subprogram is basically a program within a program. It performs a specific function and is independent of the program itself.
In This Chapter:
- Parameters
- Parameters in a subprogram must match the parameters in the subprogram definition.
- Activation Records
- Whenever a subprogram is called, an activation record is made. A recursive subprogram is basically a program that calls itself.
- Referencing Environments and Scope
- What are different types of Referencing Environments, Type Parameters and Parameterized Types