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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1c7098170d1fe6a5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-13 08:01:06 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!chcgil2-snf1.gtei.net!news.gtei.net!news.huji.ac.il!not-for-mail From: "Ehud Lamm" Newsgroups: comp.lang.ada Subject: Re: Heterogenous_Array_Test: please explain error Date: Wed, 13 Jun 2001 17:48:51 +0300 Organization: The Hebrew University of Jerusalem Message-ID: <9g7uub$70u$1@news.huji.ac.il> References: NNTP-Posting-Host: di2-55.dialin.huji.ac.il X-Trace: news.huji.ac.il 992444172 7198 132.64.12.55 (13 Jun 2001 14:56:12 GMT) X-Complaints-To: abuse@news.huji.ac.il NNTP-Posting-Date: Wed, 13 Jun 2001 14:56:12 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Xref: archiver1.google.com comp.lang.ada:8659 Date: 2001-06-13T17:48:51+03:00 List-Id: > The form without the tick is a conversion, and constraint checks (along with any > other appropriate checks) will be performed. The form with the tick (a > "qualified expression") is more like a clarification, or a hint to the compiler > which might have otherwise been confused about what type is being used. For that > reason, I'm not sure it will work here. You might need to remove the tick and > try the conversion. > In the example I posted as an answer to the original quation, I use a conversion. A qualified expression doesn't compile (using Gnat 3.13) (And in any case, I'd want the checks done if at all possible) -- Ehud Lamm mslamm@mscc.huji.ac.il http://purl.oclc.org/NET/ehudlamm <== Me!