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.6 required=5.0 tests=BAYES_20,INVALID_DATE, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!bu.edu!snorkelwacker.mit.edu!hsdndev!husc6!encore!jcallen From: jcallen@Encore.COM (Jerry Callen) Newsgroups: comp.lang.ada Subject: Re: integer'image Summary: No matter how you slice it, it's still baloney Message-ID: <13874@encore.Encore.COM> Date: 21 Jan 91 15:23:55 GMT References: <2563@sparko.gwu.edu> <10140@as0c.sei.cmu.edu> <1991Jan20.025451.29808@ucselx.sdsu.edu> Reply-To: jcallen@encore.Com (Jerry Callen) Organization: Encore Computer Corp, Marlboro, MA List-Id: In article <1991Jan20.025451.29808@ucselx.sdsu.edu> hoysch@ucselx.sdsu.edu ( Hoysch) writes: > > I think a big thing is being made out of something that is not very >hard to do. For example INTEGER'IMAGE(I)(2..INTEGER'IMAGE(I)'LAST) will >do it or a very simple routine if this is too hard on the eyes. It will also chop off the minus sign if the value happens to be negative. Furthermore, the generated code will almost certainly gag a maggot. Another suggestion has been instantiating integer_io and using put to a a string; fine, but now you get to carry around the baggage of the entire integer_io package (which may or may not be significant, depending upon the compiler, linker, etc.). I hate the $#@ leading space. I can usually just live with it. Nearly all of my use of integer'IMAGE is in debugging code anyway... -- Jerry Callen jcallen@encore.com