comp.lang.ada
 help / color / mirror / Atom feed
From: "Martin Krischik" <Martin.Krischik@T-Online.de>
Subject: Re: Prefix to 'ACCESS must either statically match... But why?
Date: Mon, 27 Jan 2003 19:33:10 +0100
Date: 2003-01-27T19:33:10+01:00	[thread overview]
Message-ID: <pan.2003.01.27.18.33.08.547182@T-Online.de> (raw)
In-Reply-To: mailman.29.1043650173.4961.comp.lang.ada@ada.eu.org

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




  reply	other threads:[~2003-01-27 18:33 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-27  6:41 Prefix to 'ACCESS must either statically match... But why? Grein, Christoph
2003-01-27 18:33 ` Martin Krischik [this message]
2003-01-27 19:05 ` Jeffrey Carter
  -- strict thread matches above, loose matches on Subject: below --
2003-01-30  6:20 Grein, Christoph
2003-01-29 12:15 Grein, Christoph
2003-01-29 11:57 Grein, Christoph
2003-01-29  6:50 Grein, Christoph
2003-01-29 11:30 ` Wojtek Narczynski
2003-01-27  7:12 Grein, Christoph
2003-01-27 15:46 ` Wojtek Narczynski
2003-01-27 22:32   ` James S. Rogers
2003-01-28  2:51     ` Wojtek Narczynski
2003-01-28  3:19       ` James S. Rogers
2003-01-28 12:14         ` Wojtek Narczynski
2003-01-28 14:43           ` James S. Rogers
2003-01-28 20:20             ` Wojtek Narczynski
2003-01-28 21:36               ` James S. Rogers
2003-01-29  2:09                 ` tmoran
2003-01-29 11:21                 ` Wojtek Narczynski
2003-01-25 22:31 Wojtek Narczynski
2003-01-26  9:57 ` Martin Krischik
2003-01-27 19:30 ` Vadim Godunko
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox