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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2b9a514a774de8f8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-28 10:10:53 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!opentransit.net!newsfeeds.belnet.be!news.belnet.be!psinet-eu-nl!psiuk-p4!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Text IO Date: Tue, 28 Aug 2001 12:47:31 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9mghv5$2tk$1@nh.pace.co.uk> References: NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 999017253 2996 136.170.200.133 (28 Aug 2001 16:47:33 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 28 Aug 2001 16:47:33 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:12526 Date: 2001-08-28T16:47:33+00:00 List-Id: You aren't being very specific here. Try posting some of your code and error messages from the compiler, etc. It is a good idea to provide as much information as you can about what is not working when posting to a newsgroup. (Typically, post the compiler + version you are using and the machine/OS + version you are using just for starters. Code snippets and error messages from the compiler are also very helpful.) Commonly, if you are using Text_IO, you would do it sort of like this: Ada.Text_IO.Put_Line ("Some Number: " & Integer'Image (X)) ; You have to state the type to which the attribute applies - hence the Integer'Image (or Float'Image or Natural'Image or Boolean'Image) MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "Matt Raikes" wrote in message news:ab21b49a.0108280819.7483865c@posting.google.com... > I was wondering how to convert integers and floats to strings for > output to text files...someone already suggested the following: > > For convert Integers to/from Strings check out the > attributes 'Image (to) and 'Value (from) > > I couldn't get this to work though. Any other ideas?? > > thanks