CS 3304: Comparative Languages
Subprograms
[
Course Documents
] : [
Subprograms
]
Previous
Contents
Next
Keyword Index
Basic Definitions
A
subprogram definition
is a description of the actions of the subprogram abstraction
A
subprogram call
is an explicit request that the subprogram be executed
A
subprogram header
is the first line of the definition, including the name, the kind of subprogram, and the formal parameters
The
parameter profile
of a subprogram is the number, order, and types of its parameters
The
protocol
of a subprogram is its parameter profile plus, if it is a function, its return type