comp.lang.ada
 help / color / mirror / Atom feed
From: tojst1+@pitt.edu (Tore Joergensen)
Subject: Re: Ada95 input output - simple question from novice
Date: 1996/03/25
Date: 1996-03-25T00:00:00+00:00	[thread overview]
Message-ID: <4j577n$gsv@usenet.srv.cis.pitt.edu> (raw)
In-Reply-To: 4j6551$pem@baggins.cc.flinders.edu.au

Tiffany Rose Winn (winn@ist.flinders.edu.au) wrote:
: My guess is that this may be because the Ada compiler is using the 
: put for characters, so I tried adding the line 
:     package Ada.Integer_Text_IO is new Ada.Text_IO.Integer_IO(Integer);
: just after the declaration of my main procedure, and also changed
: the relevant put statement to
:     Ada.Integer_Text_IO.put(count, 2);  

Just drop the 'Ada.' in the new package name:
   package integer_text_io is new ada.text_io.integer_io(integer);
-- 
+-------------------------+-------------------------------------------+
| Tore B. Joergensen      | e-mail : tore@lis.pitt.edu                |
| Centre Court Villa      | web    : http://www.pitt.edu/~tojst1      |
| 5535 Centre Avenue # 6  |                                           |
| Pgh, PA 15232, USA      | Norwegian MSIS-student at Univ. of Pgh.   |
+-------------------------+-------------------------------------------+




      parent reply	other threads:[~1996-03-25  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-25  0:00 Ada95 input output - simple question from novice Tiffany Rose Winn
1996-03-24  0:00 ` Robert Dewar
1996-03-25  0:00   ` Keith Thompson
1996-03-25  0:00 ` Tore Joergensen [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox