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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6d748e86b56b1269 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-29 09:43:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: "Martin Krischik" Newsgroups: comp.lang.ada Subject: Re: Prefix to 'ACCESS must either statically match... But why? Date: Mon, 27 Jan 2003 19:33:10 +0100 Organization: never organized Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 X-Trace: news.t-online.com 1043862029 05 22129 ScsDExAVSaYFtE 030129 17:40:29 X-Complaints-To: abuse@t-online.com X-Sender: 05341395658-0001@t-dialin.net User-Agent: Pan/0.13.0 (The whole remains beautiful) Xref: archiver1.google.com comp.lang.ada:33568 Date: 2003-01-27T19:33:10+01:00 List-Id: On Mon, 27 Jan 2003 07:41:34 +0100, Grein, Christoph wrote: >> Type Stream_Element_Array_AR2 is new Stream_Element_Array ( 1 .. 3 ); >> AR2 : aliased Stream_Element_Array_AR2 := ( 2, 4, 5 ); > No, that model is absolutely wrong! Well, I never said I am perfect. > Stream_Element_Array ( 1 .. 3 ) is a subtype of Stream_Element_Array, not a new > type derived from it. > The difference is that Stream_Element_Array is unconstrained, > Stream_Element_Array ( 1 .. 3 ) is constrained. Thanks for clarifying this point. Regards. Martin -- Martin Krischik mailto://Martin@krischik.com http://ada.krischik.com