Yurttas/PL/IL/Ada-95/F/05/00/PS/io pointer string 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 varying string as a pointer_string;
16--           input and output files are default files which are
17--           (keyboard/screen).
18
19-- io_pointer_string_00.adb
20
21
22with IO_Pointer_String_P; use IO_Pointer_String_P;
23
24procedure IO_Pointer_String_00 is
25
26  Data : Pointer_String;
27
28begin
29
30  Get_Pointer_String("--> Input Data as a String : ",
31                     Data);
32
33  Put_Pointer_String("Data /",
34                     Data);
35
36end IO_Pointer_String_00;