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-- date : January 1, 1998.
12-- author : Salih Yurttas.
13
14-- purpose : Input/Output of an enumerate;
15-- input and output files are default files which are
16-- (keyboard/screen).
17
18-- io_enumerate_01.adb
19
20
21with IO_Enumerate_P;
22use IO_Enumerate_P;
23
24procedure IO_Enumerate_01 is
25
26 Data : First_Last;
27
28begin
29
30 Data := Get_Enumerate("--> Input Data in Enumerate : ");
31
32 Put_Enumerate("Data /",
33 Data);
34
35end IO_Enumerate_01;