Yurttas/PL/IL/Ada-95/F/05/00/S/io string n 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 string;
16--           input and output files are default files which are
17--           (keyboard/screen).
18
19-- io_string_n_00.adb
20
21
22with IO_String_N_P; use IO_String_N_P;
23
24procedure IO_String_N_00 is
25
26  Data : String_8;
27
28begin
29
30  Get_String("--> Input Data as String_8 : ",
31             Data);
32
33  Put_String("Data /",
34             Data);
35
36end IO_String_N_00;