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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,782d6c8a12248b09 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!attbi_s21.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada Recursion with strings References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s21 1222820836 12.201.97.213 (Wed, 01 Oct 2008 00:27:16 GMT) NNTP-Posting-Date: Wed, 01 Oct 2008 00:27:16 GMT Organization: AT&T ASP.att.net Date: Wed, 01 Oct 2008 00:27:16 GMT Xref: g2news2.google.com comp.lang.ada:7905 Date: 2008-10-01T00:27:16+00:00 List-Id: Joe wrote: > > Thrice, I'm not sure I know what you're getting at. It's good practice to make such values into named numbers. > One other thing. The image attribute returns a string with a space in > front. Is there any way to get rid of the space? Technically, 'Image for numeric types begins with the sign, which is ' ' for non-negative numbers and '-' for negative values. That doesn't make it any more user friendly. There are a number of ways to "get rid" of the space. Probably the easiest is to slice the image to exclude the 1st Character. See ARM 4.1.2. -- Jeff Carter "I unclog my nose towards you." Monty Python & the Holy Grail 11