Next topic | Ada Home Page | Index

Packages

Package

Examples:

Used for:

Benefits of packages:


Package Organisation

Visibility

Compilation commands

Compilation order (separate compilations):

  1. package specification
  2. package body
  3. program that uses package

Example

An example shows the organisation of a package of routines for working with rectangles, circles, etc, and a program that makes use of the package.

Developing packages

  1. contents?
  2. specification

  3. body


Next topic | Ada Home Page | Index
c-lokan@adfa.oz.au / 20 Feb 96