]> ncurses.scripts.mit.edu Git - ncurses.git/blob - Ada95/html/terminal_interface-curses-text_io-modular_io_s.html
ncurses 4.1
[ncurses.git] / Ada95 / html / terminal_interface-curses-text_io-modular_io_s.html
1 <HTML>
2 <HEAD>
3 <TITLE></TITLE>
4 </HEAD>
5 <BODY BGCOLOR="#99ccbb" TEXT="#000000" LINK="#4060b0" VLINK="#000080" ALINK="#ff4040">
6 <PRE>
7 <I>------------------------------------------------------------------------------</I>
8 <I>--                                                                          --</I>
9 <I>--                           <A HREF="http://www.gnat.com">GNAT</A> ncurses Binding                           --</I>
10 <I>--                                                                          --</I>
11 <I>--               Terminal_Interface.Curses.Text_IO.Modular_IO               --</I>
12 <I>--                                                                          --</I>
13 <I>--                                 S P E C                                  --</I>
14 <I>--                                                                          --</I>
15 <I>--  Version 00.92                                                           --</I>
16 <I>--                                                                          --</I>
17 <I>--  The ncurses Ada95 binding is copyrighted 1996 by                        --</I>
18 <I>--  <A HREF="http://home.t-online.de/home/Juergen.Pfeifer">J&uuml;rgen Pfeifer</A>, Email: <A HREF="mailto:Juergen.Pfeifer@T-Online.de">Juergen.Pfeifer@T-Online.de</A>                      --</I>
19 <I>--                                                                          --</I>
20 <I>--  Permission is hereby granted to reproduce and distribute this           --</I>
21 <I>--  binding by any means and for any fee, whether alone or as part          --</I>
22 <I>--  of a larger distribution, in source or in binary form, PROVIDED         --</I>
23 <I>--  this notice is included with any such distribution, and is not          --</I>
24 <I>--  removed from any of its header files. Mention of ncurses and the        --</I>
25 <I>--  author of this binding in any applications linked with it is            --</I>
26 <I>--  highly appreciated.                                                     --</I>
27 <I>--                                                                          --</I>
28 <I>--  This binding comes AS IS with no warranty, implied or expressed.        --</I>
29 <I>------------------------------------------------------------------------------</I>
30 <I>--  Version Control:</I>
31 <I>--  @Revision: 1.4 @</I>
32 <I>------------------------------------------------------------------------------</I>
33 <B>generic</B>
34    type Num <B>is</B> <B>mod</B> &lt;&gt;;
35
36 <B>package</B> Terminal_Interface.Curses.Text_IO.Modular_IO <B>is</B>
37
38    Default_Width : Field := Num'Width;
39    Default_Base  : Number_Base := 10;
40
41    <B>procedure</B> Put
42      (Win   : <B>in</B> Window;
43       Item  : <B>in</B> Num;
44       Width : <B>in</B> Field := Default_Width;
45       Base  : <B>in</B> Number_Base := Default_Base);
46
47    <B>procedure</B> Put
48      (Item  : <B>in</B> Num;
49       Width : <B>in</B> Field := Default_Width;
50       Base  : <B>in</B> Number_Base := Default_Base);
51
52 <B>private</B>
53    <B>pragma</B> Inline (Put);
54
55 <B>end</B> Terminal_Interface.Curses.Text_IO.Modular_IO;
56
57 </PRE>
58
59 <P><HR><P>
60 <P>
61 This is BETA software. The interface is subject to change without notice.<P>
62 <!-- Do NOT delete my name or the tool name from below; -->
63 <!-- giving me credit is a condition of use of ada2html -->
64 <P><I>This hypertext format was generated by <A HREF="http://www.adahome.com/Tutorials/Lovelace/dwheeler.htm">David A. Wheeler</A>'s <A HREF="http://www.adahome.com/Resources/Tools/ada2html/ada2html.htm">ada2html</A></I>
65 </BODY>
66 </HTML>
67