comp.lang.ada
 help / color / mirror / Atom feed
From: "Nick Roberts" <nickroberts@blueyonder.co.uk>
Subject: Re: Expectation of Access Value Equality
Date: Fri, 5 Sep 2003 18:56:54 +0100
Date: 2003-09-05T18:56:54+01:00	[thread overview]
Message-ID: <bjaipb$h63q2$1@ID-25716.news.uni-berlin.de> (raw)
In-Reply-To: yE06b.1987$Ve3.865@newsfep4-winn.server.ntli.net

"chris" <spamoff.danx@ntlworld.com> wrote in message
news:yE06b.1987$Ve3.865@newsfep4-winn.server.ntli.net...

> > (c) What would you think of an implementation that caused this
behaviour?
> > (What would you think of an implementation that printed four lines in
both
> > cases?)
>
> It wouldn't be obeying the typing rules of the language.  Perhaps you
> meant A_String_Array to accesses to A_String?  If so,

I'm sorry, I did mean:

   type A_String_Array is array (Positive range <>) of A_String;

instead of:

   type A_String_Array is array (Positive range <>) of String;

> (a) I would expect 4 lines
> (b) ditto
> (c) it'd be working correctly iiu the languages rules correctly.
>
> > (d) I'd be grateful for a very brief indication of your level and broad
> > area(s) of programming experience, in Ada and other languages.
>
> Familiar: Ada, Java, Pascal
>
> Ok: C, SQL
>
> Dabbled In: C++, Erlang, Haskell
>
> I'm a student with 0 years industry service behind me so I don't use Ada
> everyday, if that's relevant.

Thank you Chris, it's relevant, and it's useful. Thanks!

--
Nick Roberts
Jabber: debater@charente.de [ICQ: 159718630]







  reply	other threads:[~2003-09-05 17:56 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-05 13:35 Expectation of Access Value Equality Nick Roberts
2003-09-05 13:02 ` chris
2003-09-05 17:56   ` Nick Roberts [this message]
2003-09-05 19:10 ` Robert I. Eachus
2003-09-05 19:32 ` Jeffrey Carter
2003-09-05 19:35 ` Simon Wright
2003-09-06  0:25 ` Matthew Heaney
2003-09-06  2:41 ` Steve
2003-09-06 22:01 ` Georg Bauhaus
2003-09-08  9:08 ` Preben Randhol
2003-09-08  9:09   ` Andy
2003-09-09 22:31     ` Nick Roberts
2003-09-10 18:39 ` Mário Amado Alves
2003-09-23 10:46 ` Jacob Sparre Andersen
replies disabled

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