Lady Ada

Ada '83 Language Reference Manual

Copyright 1980, 1982, 1983 owned by the United States Government. Direct reproduction and usage requests to the Ada Information Clearinghouse.


7. Packages

Packages are one of the four forms of program unit, of which programs can be composed. The other forms are subprograms, task units, and generic units.

Packages allow the specification of groups of logically related entities. In their simplest form packages specify pools of common object and type declarations. More generally, packages can be used to specify groups of related entities including also subprograms that can be called from outside the package, while their inner workings remain concealed and protected from outside users.

Sub-topics:

References: generic unit, program unit, subprogram, task unit, type declaration.

Rationale references: 9 Packages, 13.4 Packages and Tasks

Style Guide references: 2.1.2 Indentation, 4.1.4 Packages, 4.1.5 Cohesion

[INDEX][CONTENTS]


[Ada Information Clearinghouse]

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