Abstract
A subprogram is a program unit or intrinsic operation whose execution is invoked by a subprogram call. There are two forms of subprogram: procedures and functions. A procedure call is a statement; a function call is an expression and returns a value. The definition of a subprogram can be given in two parts: a subprogram declaration defining its interface, and a subprogram_body defining its execution. Operators and enumeration literals are functions.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2000 The MITRE Corporation, Inc.
About this chapter
Cite this chapter
(2000). Section 6: Subprograms. In: Taft, S.T., Duff, R.A., Brukardt, R.L., Ploedereder, E. (eds) Consolidated Ada Reference Manual Language and Standard Libraries. Lecture Notes in Computer Science, vol 2219. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45340-7_6
Download citation
DOI: https://doi.org/10.1007/3-540-45340-7_6
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-43038-4
Online ISBN: 978-3-540-45340-6
eBook Packages: Springer Book Archive