Yurttas/PL/IL/Ada-95/ProgUnits/P/m 02.adb

From ZCubes Wiki
Jump to navigation Jump to search
 1--
 2-- Copyright (C) 1998
 3-- All Rights Reserved. Salih Yurttas, ZCubes, BitsOfCode Software Systems, Inc..
 4--
 5-- Permission to use, copy, modify, and distribute this 
 6-- software and its documentation for EDUCATIONAL purposes
 7-- and without fee is hereby granted provided that this 
 8-- copyright notice appears in all copies. 
 9-- 
10-- 
11 
12-- date   : January 1, 1998.
13-- author : Salih Yurttas.
14
15-- purpose : to demonstrate using separately compiled procedure.
16
17-- m_02.adb
18
19
20with Text_IO; use Text_IO;
21 
22procedure M_02 is
23
24  procedure S_02(d : in Character) is separate;
25
26begin
27
28  Put_Line("I was in M_02");
29
30  S_02('z');
31
32end M_02;