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,c370342fe303517b X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.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 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: C Interface example References: <1170516037.435847.326440@p10g2000cwp.googlegroups.com> 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 1170622777 12.201.97.213 (Sun, 04 Feb 2007 20:59:37 GMT) NNTP-Posting-Date: Sun, 04 Feb 2007 20:59:37 GMT Organization: AT&T ASP.att.net Date: Sun, 04 Feb 2007 20:59:37 GMT Xref: g2news2.google.com comp.lang.ada:8928 Date: 2007-02-04T20:59:37+00:00 List-Id: Simon Wright wrote: > > In your later post you note that Ada can work out the length without > needing it as a parameter here. However, in either case I would put in > a check that To'Length is equal to Using'Length (and to Length, if > supplied). Right. I mentioned that. Length should never be needed; you can always pass slices. -- Jeff Carter "Now go away or I shall taunt you a second time." Monty Python & the Holy Grail 07