A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
7
Task/Include-a-file/Ada/include-a-file.ada
Normal file
7
Task/Include-a-file/Ada/include-a-file.ada
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
with Ada.Text_IO, Another_Package; use Ada.Text_IO;
|
||||
-- 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:
|
||||
-- Ada.Text_IO.Put_Line("some text");
|
||||
-- Another_Package.Do_Something("some text");
|
||||
-- The use-clause allows the program author to write a subprogram call shortly as
|
||||
-- Put_Line("some text");
|
||||
Loading…
Add table
Add a link
Reference in a new issue