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.51.136 with SMTP id z130mr10448178ioz.70.1513974317254; Fri, 22 Dec 2017 12:25:17 -0800 (PST) X-Received: by 10.157.19.100 with SMTP id q33mr27336otq.13.1513974317014; Fri, 22 Dec 2017 12:25:17 -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!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.am4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!g80no1594396itg.0!news-out.google.com!b73ni5200ita.0!nntp.google.com!g80no1594393itg.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 22 Dec 2017 12:25:16 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=85.245.163.184; posting-account=rhqvKAoAAABpikMmPHJSZh4400BboHwT NNTP-Posting-Host: 85.245.163.184 References: <0d33e631-e63d-4346-ac95-5eec72127f4f@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: syntaxic exploration From: Mehdi Saada <00120260a@gmail.com> Injection-Date: Fri, 22 Dec 2017 20:25:17 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Body-CRC: 2146883585 X-Received-Bytes: 1927 Xref: reader02.eternal-september.org comp.lang.ada:49592 Date: 2017-12-22T12:25:16-08:00 List-Id: How about that, then: return RES: T_POLYNOME :=3D T_DEGRE'MAX(POLY_A.DEGRE,POLY_B.DEGRE),(0..POLY_A.COEF'Last =3D> POLY_A.CO= EF, others =3D> Nulle)) do It says "p_poly_v1_g.adb:63:51: dynamic or empty choice in aggregate must b= e the only choice" I would like to write this (POLY_A.COEF'Range =3D> POLY_A.COEF, others =3D>= Nulle) but I know "POLY_A.COEF'Range =3D>" must be followed by a value of = T_RATIONNEL, not a slice. But I don't know how to write "PUT POLY_A.COEF th= ere, and as much Nulle as needed to fill the void if by chance POLY_B.DEGRE= > POLY_A.DEGRE"