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