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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,eb9238bef304c5d4 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!attbi_s22.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Using discriminant record: problem with assigning to an array in body of case References: <976bd0a5-4aff-4f40-83c7-c6b7829ab4d8@s9g2000prg.googlegroups.com> In-Reply-To: <976bd0a5-4aff-4f40-83c7-c6b7829ab4d8@s9g2000prg.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 173.16.158.68 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s22 1237323059 173.16.158.68 (Tue, 17 Mar 2009 20:50:59 GMT) NNTP-Posting-Date: Tue, 17 Mar 2009 20:50:59 GMT Organization: AT&T ASP.att.net Date: Tue, 17 Mar 2009 20:50:59 GMT Xref: g2news1.google.com comp.lang.ada:4163 Date: 2009-03-17T20:50:59+00:00 List-Id: ChristopherL wrote: > The below procedure compiles and links fine, but when I run it I get a > "discriminant check failed" error message. Can you please modify this > code so that the array assignment works. > > ITEM_NAME : is array ( 0..5 ) of float; If this compiles, you have a serious problem in your compiler. -- Jeff Carter "My dear Mrs. Hemoglobin, when I first saw you, I was so enamored with your beauty I ran to the basket, jumped in, went down to the city, and bought myself a wedding outfit." Never Give a Sucker an Even Break 111