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,4dfbb9c23c9a83eb X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!wn13feed!worldnet.att.net!207.217.77.102!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.news.pas.earthlink.net.POSTED!a6202946!not-for-mail From: Jeffrey Carter Organization: jrcarter commercial-at acm [period | full stop] org User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: (Follow-up) References: <27c5ecc06ac6a213466ab65361d20376@localhost.talkaboutprogramming.com> <2db7e95053c018032e212a9f7c2c614d@localhost.talkaboutprogramming.com> <4b599f2a499d4157d3904e163be90ad5@localhost.talkaboutprogramming.com> In-Reply-To: <4b599f2a499d4157d3904e163be90ad5@localhost.talkaboutprogramming.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <8_rJe.2405$Wi6.439@newsread2.news.pas.earthlink.net> Date: Sun, 07 Aug 2005 17:59:32 GMT NNTP-Posting-Host: 209.86.18.60 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.news.pas.earthlink.net 1123437572 209.86.18.60 (Sun, 07 Aug 2005 10:59:32 PDT) NNTP-Posting-Date: Sun, 07 Aug 2005 10:59:32 PDT Xref: g2news1.google.com comp.lang.ada:4023 Date: 2005-08-07T17:59:32+00:00 List-Id: Adaddict wrote: > > procedure Search_str (FileAccess : in Handle; Query : in string; > Results : out Integer) is ... > length : constant integer := Query'last; OT, but just curious. What happens when I call this with Query : String (10_001 .. 10_010); as the actual for Query? Query'Last = 10_010; Query'Length = 10. -- Jeff Carter "I'm a lumberjack and I'm OK." Monty Python's Flying Circus 54