Sharedsupport / 2018-10-05-ada / hello.adbOpen in CoCalc
Author: William A. Stein
License: GNU General Public License v3.0
Description: Examples for support purposes.
1
-- To run this, open a terminal and type
2
--
3
-- gnatmake hello.adb && ./hello
4
--
5
6
with Ada.Text_IO;
7
8
procedure Hello is
9
package IO renames Ada.Text_IO;
10
begin
11
IO.Put_Line("Hello, world!");
12
IO.New_Line;
13
IO.Put_Line("I am an Ada program with package rename.");
14
end Hello;