From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2d0ad8afa0ec077 X-Google-Attributes: gid103376,public From: tojst1+@pitt.edu (Tore Joergensen) Subject: Re: Ada95 input output - simple question from novice Date: 1996/03/25 Message-ID: <4j577n$gsv@usenet.srv.cis.pitt.edu>#1/1 X-Deja-AN: 144146587 distribution: world references: <4j6551$pem@baggins.cc.flinders.edu.au> organization: University of Pittsburgh newsgroups: comp.lang.ada Date: 1996-03-25T00:00:00+00:00 List-Id: 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. | +-------------------------+-------------------------------------------+