From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: * X-Spam-Status: No, score=1.5 required=3.0 tests=BAYES_50,FREEMAIL_FROM, FROM_STARTS_WITH_NUMS autolearn=no autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:a37:9d56:: with SMTP id g83mr16500810qke.38.1612784837774; Mon, 08 Feb 2021 03:47:17 -0800 (PST) X-Received: by 2002:a25:e016:: with SMTP id x22mr25638878ybg.92.1612784837554; Mon, 08 Feb 2021 03:47:17 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!news.dns-netz.com!news.freedyn.net!newsreader4.netcologne.de!news.netcologne.de!peer04.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 8 Feb 2021 03:47:17 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=85.240.219.181; posting-account=rhqvKAoAAABpikMmPHJSZh4400BboHwT NNTP-Posting-Host: 85.240.219.181 References: <05ea3d57-6d03-4f8e-8a8c-6282a11f447dn@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <20f14d27-2278-4498-a591-15c46b82e272n@googlegroups.com> Subject: Re: qualified expression From: Mehdi Saada <00120260a@gmail.com> Injection-Date: Mon, 08 Feb 2021 11:47:17 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 1969 Xref: reader02.eternal-september.org comp.lang.ada:61318 List-Id: > Terrible unreadable style! My bad. But I so like qualified expression. and renames. and the more or le= ss esoteric bits. > T_type'(det1, Var2(1..det1+1)); -- positional, slides=20 I know I can do that but since T_arrays and T_vect are 1) different types 2= ) more importantly do not have the same range (one starts at 0 the other at= 1) so I was, and still am, unsure if the indices would be shifted in the c= onversion, or left as they are (1..det+1). Without conversion, if these are just different array subtypes with differe= nt indice rangs same problem. I just don't know the rules regards to index range... surely it's somewhere= in the rm but good luck to me finding it.