Previous topic |
Next topic |
Ada Home Page |
Index
Package specification
Package specification: "what" the package provides
- subprograms and their interfaces
- constants, types, variables
Form of package specification
General form:
public:
- what you need to know to use the package
- eg types; subprogram headers
private:
- implementation of data types
Example
An example shows the
specification of a package of routines for working with rectangles, circles,
etc.
Previous topic |
Next topic |
Ada Home Page |
Index
c-lokan@adfa.oz.au / 20 Feb 96