Yurttas/PL/IL/Ada-95/F/05/00/E/io list enumerate 00.adb

From ZCubes Wiki
Revision as of 05:39, 5 November 2013 by MassBot1 (talk | contribs) (Created page with "<syntaxhighlight lang="ada" line start="1" enclose="div">-- -- Copyright(C) 1998 -- All Rights Reserved. Salih Yurttas, ZCubes, BitsOfCode Software Systems, Inc.. -- -- Permis...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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-- date   : January 1, 1998.
12-- author : Salih Yurttas.
13
14-- purpose : Input/Output of a list of enumerates;
15--           input and output files are text files which are
16--           named interactively.
17
18-- io_list_enumerate_00.adb
19
20
21with List_Enumerate_P;
22use List_Enumerate_P;
23
24with IO_List_Enumerate_P;
25use IO_List_Enumerate_P;
26
27procedure IO_List_Enumerate_00 is
28
29  Max_Size : constant Integer := 16;
30
31  K : Integer;
32  L : List_Enumerate(1..Max_Size);
33
34begin
35
36  Get_List_Enumerate(K,
37                     L);
38
39  Put_List_Enumerate(K,
40                     L,
41                     "enumerate list:");
42
43end IO_List_Enumerate_00;