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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5c1c45943bf6a5bc X-Google-Attributes: gid103376,public From: Simon Wright Subject: Re: 'first of strings returned from a function should be 1? Date: 1997/07/27 Message-ID: #1/1 X-Deja-AN: 259477261 X-NNTP-Posting-Host: pogner.demon.co.uk [158.152.70.98] References: <5rcaqi$le8$1@goanna.cs.rmit.edu.au> <01bc9a76$459c2250$4c8371a5@dhoossr> Organization: At Home Newsgroups: comp.lang.ada Date: 1997-07-27T00:00:00+00:00 List-Id: "David C. Hoos, Sr." writes: > something like > New_Result (1 .. Result_String'length) := > Result_String(Result_String'first .. result_String'first + > Result_String'length -1) > will do the job. What about New_Result (1 .. Result_String'length) := Result_String; -- Simon Wright Work Email: simon.j.wright@gecm.com GEC-Marconi Radar & Defence Systems Voice: +44(0)1705-701778 Command & Information Systems Divsion FAX: +44(0)1705-701800