Yurttas/PL/IL/Ada-95/F/05/00/C/io list character 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 
12-- date   : January 1, 1998.
13-- authorĀ : Salih Yurttas.
14
15-- purposeĀ : Input/Output of a list of characters;
16--           input and output files are text files which are
17--           named interactively.
18
19-- io_list_character_00.adb
20
21
22with List_Character_P;    use List_Character_P;
23with IO_List_Character_P; use IO_List_Character_P;
24
25procedure IO_List_Character_00 is
26
27  Max_Size : constant Integer := 16;
28
29  K : Integer;
30  L : List_Character(1..Max_Size);
31
32begin
33
34  Get_List_Character(K,L);
35  Put_List_Character(K,L,"character list:");
36
37end IO_List_Character_00;