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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9def0a9c238c7bd8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-02-14 17:37:49 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!newsfeed.icl.net!isdnet!grolier!freenix!enst!enst.fr!not-for-mail From: "Beard, Frank" Newsgroups: comp.lang.ada Subject: RE: Ada 0x Wish List Date: Wed, 14 Feb 2001 20:33:23 -0500 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: avanie.enst.fr 982200913 14076 137.194.161.2 (15 Feb 2001 01:35:13 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Thu, 15 Feb 2001 01:35:13 +0000 (UTC) To: "'comp.lang.ada@ada.eu.org'" Return-Path: X-Mailer: Internet Mail Service (5.5.2448.0) Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: supernews.google.com comp.lang.ada:5264 Date: 2001-02-14T20:33:23-05:00 Yes, but you talking about going from: Ada.Text_Io.Put_Line(integer'image(X)); to Ada.Text_Io.Put_Line(Ada.Strings.Fixed.Trim(source => integer'image(X), side => Ada.Strings.Left)); It's a lot of extra keystrokes just to make something uglier and less readable, for something that shouldn't be there in the first place. I agree with Fraser. Frank PS. And what if you want to take a slice of the image? Then it starts getting really ugly. So, hideous that you definitely need a function. -----Original Message----- From: David C. Hoos, Sr. [mailto:david.c.hoos.sr@ada95.com] Sent: Wednesday, February 14, 2001 6:23 AM To: comp.lang.ada@ada.eu.org Subject: Re: Ada 0x Wish List Ada.Strings.Fixed.Trim (Integer'Image ()) will do it without and leading spaces. "Fraser Wilson" wrote in message news:t8j79d3epqts89@corp.supernews.com... > In article <3A87F362.3B2F6CEE@bton.ac.uk>, John English wrote: > > >Since we're wishing, here are a couple of very minor ones off the top > >of my head that relate to Ada.Text_IO, which unfortunately I haven't > >got time to draft proper requests for: > > [ good ideas snipped ] > > How about an image attribute that doesn't put a space in front of positive > integers. That space has always puzzled me -- it makes output of a series > of positive integers easier, but as special cases go, that's pretty special. > > Strikingly minor, but it's always bugged me. > > Fraser. _______________________________________________ comp.lang.ada mailing list comp.lang.ada@ada.eu.org http://ada.eu.org/mailman/listinfo/comp.lang.ada