[Ada Information Clearinghouse]
Ada '83 Rationale, Ch 8: Subprograms

"Rationale for the Design of the
Ada® Programming Language"

[Ada '83 Rationale, HTML Version]

Copyright ©1986 owned by the United States Government. All rights reserved.
Direct inquiries to the Ada Information Clearinghouse at adainfo@sw-eng.falls-church.va.us.

CHAPTER 8: Subprograms

Subprograms can be functions or procedures. The form of these program units is quite traditional, following from Algol 60. Nevertheless the design of a subprogram facility raises several issues in terms of the organization of the program text, the definition of the parameter mechanism, and the nature of functions. These issues are discussed in separate sections.

In this chapter...

8.1 Subprogram Declarations and Subprogram Bodies
8.2 Parameter Modes
8.2.1 Efficiency Issues of Parameter Passing Mechanisms
8.2.2 The Effect of Parameter Passing Mechanisms for Access Types
8.2.3 The Effect of Parameter Passing Mechanisms for Composite Types
8.2.4 The Ada Solution for Parameter Passing
8.3 Parameter Passing Notations
8.4 Function Subprograms


NEXTPREVIOUSUPTOCINDEX
Address any questions or comments to adainfo@sw-eng.falls-church.va.us.