Yurttas/PL/IL/Ada-95/F/05/00/C/io 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 character;
16--           input and output files are default files which are
17--           (keyboard/screen).
18
19-- io_character_00.adb
20
21
22with IO_Character_P; use IO_Character_P;
23
24procedure IO_Character_00 is
25
26  Data : Character;
27
28begin
29
30  Get_Character("--> Input Data in Character : ",
31                Data);
32
33  Put_Character("Data /",
34                Data);
35
36end IO_Character_00;