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.151.76 with SMTP id z73mr1760899iod.70.1516467156145; Sat, 20 Jan 2018 08:52:36 -0800 (PST) X-Received: by 10.157.24.117 with SMTP id t50mr100562ott.9.1516467155973; Sat, 20 Jan 2018 08:52:35 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.am4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!w142no1150833ita.0!news-out.google.com!b73ni3915ita.0!nntp.google.com!w142no1150830ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 20 Jan 2018 08:52:35 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=85.243.127.62; posting-account=rhqvKAoAAABpikMmPHJSZh4400BboHwT NNTP-Posting-Host: 85.243.127.62 References: <25736b03-e178-41ce-84fc-0e7da0e11420@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <340b9df2-732e-4355-a85f-020e9f754a9b@googlegroups.com> Subject: Re: "too few element" in an unconstrained array, given as litteral ? From: Mehdi Saada <00120260a@gmail.com> Injection-Date: Sat, 20 Jan 2018 16:52:36 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 1982 X-Received-Body-CRC: 1959260146 Xref: reader02.eternal-september.org comp.lang.ada:50024 Date: 2018-01-20T08:52:35-08:00 List-Id: We discussed it some weeks ago, but how do I write: Temp :=3D (Poly_B.Degre + Ind - 1, (Poly_B.Degre + Ind - 1 =3D> (1/1)), oth= ers =3D> <>); Ind is the index of a for loop, hence there's a dynamic choice, hence ... N= o other choices possible. So the above is illegal. I want the nicest expres= sion, because the algo part was already hard on me, so I need to find convo= luted ways to counter my less that optimal syntaxical knowledge, it's too m= uch. I need that to implement multiplying a polynom with x, or x**2, and so fort= h, with a bunch of zero to the left. That done, I saw all others primitives work... and I'll be in heaven. For a= brief moment, though.