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,1db5f5538715d789 X-Google-Attributes: gid103376,public From: "Marin D. Condic" Subject: Re: integer'image Date: 2000/04/18 Message-ID: <38FD4FD2.EE76AE14@quadruscorp.com>#1/1 X-Deja-AN: 612972164 Content-Transfer-Encoding: 7bit References: <29IK4.5459$sB3.3596@news.indigo.ie> <8dflqg$8m1$1@nnrp1.deja.com> <38FC81C4.40BEC60B@quadruscorp.com> <8dht7f$mq9$1@nnrp1.deja.com> Organization: Quadrus Corporation X-Sender: "Marin D. Condic" (Unverified) X-Server-Date: 19 Apr 2000 03:20:55 GMT Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-04-19T03:20:55+00:00 List-Id: Ted Dennison wrote: > > ...which saves one from doing the 'Image twice. Damn, why didn't I think > of that? :-) > > Thanks for the tip Marin. > Oh hell! What do you say we co-write a paper called "How many ways can you get an integer into a string in Ada?" :-) Of course the *precise* behavior desired may make other techniques more useful. Start fooling with Ada.Strings.Fixed and you have to do justifications and trimming and stuff like that. Maybe we should look at things like Ada.Text_IO.Editing as yet another option for getting numbers into a string. MDC -- ====================================================================== Marin David Condic - Quadrus Corporation - http://www.quadruscorp.com/ Send Replies To: m c o n d i c @ q u a d r u s c o r p . c o m Visit my web site at: http://www.mcondic.com/ "I'd trade it all for just a little more" -- Charles Montgomery Burns, [4F10] ======================================================================