Include a file: Difference between revisions

Content added Content deleted
Line 10: Line 10:
=={{header|Ada}}==
=={{header|Ada}}==
<lang Ada>with Ada.Text_IO, Another_Package; use Ada.Text_IO;
<lang Ada>with Ada.Text_IO, Another_Package; use Ada.Text_IO;
-- the with-clause tells the complier to include the Text_IO package from the Ada standard
-- the with-clause tells the compiler to include the Text_IO package from the Ada standard
-- and Another_Package. Subprograms from these packages may be called as follows:
-- and Another_Package. Subprograms from these packages may be called as follows:
-- Ada.Text_IO.Put_Line("some text");
-- Ada.Text_IO.Put_Line("some text");