Yurttas/PL/IL/Ada-95/F/05/00/C/io list character 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.. -- -- Permi...")
(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 
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;