Yurttas/PL/IL/Ada-95/F/05/00/B/io list boolean 00.adb

 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 booleans;
15--           input and output files are text files which are
16--           named interactively.
17
18-- io_list_boolean_00.adb
19
20
21with List_Boolean_P;
22use List_Boolean_P;
23
24with IO_List_Boolean_P;
25use IO_List_Boolean_P;
26
27procedure IO_List_Boolean_00 is
28
29  Max_Size : constant Integer := 16;
30
31  K : Integer;
32  L : List_Boolean(1..Max_Size);
33
34begin
35
36  Get_List_Boolean(K,
37                   L);
38
39  Put_List_Boolean(K,
40                   L,
41                   "boolean list:");
42
43end IO_List_Boolean_00;