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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,c689b55786a9f2bd X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!.POSTED!not-for-mail From: Warren Newsgroups: comp.lang.ada Subject: Re: for S'Image use Func?? Date: Mon, 10 May 2010 16:03:44 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: Injection-Date: Mon, 10 May 2010 16:03:44 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="9f8M0iN5t54V+4DF/iqO8g"; logging-data="12878"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18pQF9N1maRwzhO8evWd5YsHv6G0GmcKVM=" User-Agent: Xnews/5.04.25 X-Face: &6@]C2>ZS=NM|HE-^zWuryN#Z/2_.s9E|G&~DRi|sav9{E}XQJb*\_>=a5"q]\%A;5}LKP][1mA{gZ,Q!j Cancel-Lock: sha1:X1xH3SNvBjk+FG+YmCygdOlK2to= Xref: g2news2.google.com comp.lang.ada:11450 Date: 2010-05-10T16:03:44+00:00 List-Id: Jeffrey R. Carter expounded in news:hrvg3i$2b3$1@tornado.tornevall.net: > Warren wrote: >> >> True, but in my case I just needed the leading zeros, sans >> any sign: >> >> 900 to be displayed as "00900" (vs " 900"). > > In my job we make extensive use of the image functions from > PragmARC.Images. These have optional Width, Base, and Zero_Filled > parameters. So we'd use Thanks for the pointer. But for my own Open Sourced project, which other folks will have to compile, I would need a very compelling reason to bring in any third party packages. This is why I am wildly enthusiastic about Ada.Containers. In the past I had to depend upon the Booch components. But then there were issues for the end user depending upon the version they chose to download and install, etc. Having Ada.Containers included, presumably means they are well supported with the compiler they have installed. So far, that has been my experience. I depend quite heavily on them for this project. So for something trivial like adding leading zeros, I won't add a "project dependency". If I further have to include patches and install instructions for same said third party packages, then that pretty much kills any interest in doing so. ;-) I vaguely remember looking at them however, back in my Ada-95 days. Warren