comp.lang.ada
 help / color / mirror / Atom feed
From: Jacob Sparre Andersen <sparre@crs4.it>
Subject: Re: Expectation of Access Value Equality
Date: Tue, 23 Sep 2003 12:46:38 +0200
Date: 2003-09-23T09:30:30+00:00	[thread overview]
Message-ID: <3F70248E.3020707@crs4.it> (raw)
In-Reply-To: <bja3fi$glkjh$1@ID-25716.news.uni-berlin.de>

Nick Roberts wrote:

> (a) Would you be surprised by:
> 
>    Print( (+"foo",+"bar",+"",+"") );
> 
> printing three lines?

Not really.  But I don't think I would code like that, because I am
uncertain of the meaning and would have to look the gory details up in
the LRM.

> (b) Would you be surprised by:
> 
>    Print( (+"foo",+"bar",+"hum",+"foo") );
> 
> printing one line?

As above.

> (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?)

That depends on what the LRM says on the subject.  (haven't checked it)

> (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.

I have used Ada for my work since 1995.  Before that I used Borland
Pascal.  In addition to that I have programmed a bit in Fortran,
COMAL-80, BASIC (Sinclair, ABC and MS versions), C, C++, Erlang, OCaml
and a few other (mostly procedural) languages.

I am not a programmer by profession or education.

Jacob
-- 
Wie "Tippfehler !?" Mein Modem hat doch Fehlerkorrektur...




      parent reply	other threads:[~2003-09-23 10:46 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
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 [this message]
replies disabled

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