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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a6692a7d92b3309b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-04-08 20:50:47 PST Path: archiver1.google.com!news1.google.com!news.glorb.com!wn12feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Converting numbers to strings without Ada.Text_IO? From: James Rogers References: Message-ID: User-Agent: Xnews/5.04.25 Date: Fri, 09 Apr 2004 03:50:47 GMT NNTP-Posting-Host: 12.73.180.71 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1081482647 12.73.180.71 (Fri, 09 Apr 2004 03:50:47 GMT) NNTP-Posting-Date: Fri, 09 Apr 2004 03:50:47 GMT Organization: AT&T Worldnet Xref: archiver1.google.com comp.lang.ada:6878 Date: 2004-04-09T03:50:47+00:00 List-Id: "Martin Dowie" wrote in news:c544qe$l5d$1@sparta.btinternet.com: > "Tapio Kelloniemi" wrote in message > news:rWfdc.2825$MA6.804@reader1.news.jippii.net... >> Well, my question is: how could in convert integer and real numbers >> portably into strings without using Ada.Text_IO? > > You could copy the algorithm GNAT uses for conversions from > Ada.Text_IO into your own package (with appropriate copyrighting kept) You could also simply call the 'Image attribute of the integer or real number. Jim Rogers