Advertisement
Guest User

test_pkg.adb

a guest
May 12th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ada 0.33 KB | None | 0 0
  1. with A, B, Person;
  2. with Ada.Text_IO; use Ada.Text_IO;
  3.  
  4. procedure Test_Pkg is
  5. begin
  6.    Put_Line ("Test_Pkg: " & Integer'Image (Person.Unit_Age));
  7.    A.Print_Modify;
  8.    Put_Line ("Test_Pkg: " & Integer'Image (Person.Unit_Age));  
  9.    B.Print_Modify;
  10.    Put_Line ("Test_Pkg: " & Integer'Image (Person.Unit_Age));
  11. end Test_Pkg;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement