adaPackages


Syntax

  • with Package_Name_To_Include;
  • package New_Package_Name renames Package_To_Rename;
  • use Package_Name;
  • package Parent_Name.Child_Name is

Remarks

Package provides:

  • Code encapsulation
  • Separate compilation
  • Hide procedures, functions, operators on private types

Similarities or analogous in other languages: