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.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FROM_STARTS_WITH_NUMS autolearn=no autolearn_force=no version=3.4.4 X-Received: by 10.107.222.25 with SMTP id v25mr1344777iog.103.1516017620470; Mon, 15 Jan 2018 04:00:20 -0800 (PST) X-Received: by 10.157.114.140 with SMTP id t12mr515533otj.4.1516017620196; Mon, 15 Jan 2018 04:00:20 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.unit0.net!peer03.am4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!g80no2146842itg.0!news-out.google.com!s63ni5638itb.0!nntp.google.com!g80no2146840itg.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 15 Jan 2018 04:00:19 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=85.245.163.212; posting-account=rhqvKAoAAABpikMmPHJSZh4400BboHwT NNTP-Posting-Host: 85.245.163.212 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <51e64525-b9f1-4ad9-b737-5bb89f84f40f@googlegroups.com> Subject: Re: ADA.STRINGS.INDEX_ERROR : a-strunb.adb:782 From: Mehdi Saada <00120260a@gmail.com> Injection-Date: Mon, 15 Jan 2018 12:00:20 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 1846 X-Received-Body-CRC: 2924673695 Xref: reader02.eternal-september.org comp.lang.ada:49910 Date: 2018-01-15T04:00:19-08:00 List-Id: That's an awful lot of things at once x_x, but thanks. So in linux I have to go past the "./doinstall" script, right... Never used specific compilation option for anything until now. > When deleting elements of a list by position the loop must run positions >in reverse: >[...] >That will keep the positions straight. Position /= index, BTW. >However, deleting characters from a string almost never has sense. You >probably should reconsider the algorithm. Ah ? Why so ? And how come position =/ index ? "IND" is the same, isn't ? Performance consideration ? But fine, I'll do without.