comp.lang.ada
 help / color / mirror / Atom feed
From: Preben Randhol <randhol+news@pvv.org>
Subject: Re: "&" for array versus "&" for Strings
Date: Tue, 8 Oct 2002 15:56:26 +0000 (UTC)
Date: 2002-10-08T15:56:26+00:00	[thread overview]
Message-ID: <slrnaq6015.e6r.randhol+news@kiuk0152.chembio.ntnu.no> (raw)
In-Reply-To: mailman.1034092022.1154.comp.lang.ada@ada.eu.org

On Tue, 8 Oct 2002 10:46:39 -0500, David C. Hoos wrote:

> That's correct.  Without the qualification of its operands, the
> compiler selects "&" (Left, Right : String) return String, which
> (correctly) returns an error in 3.16w, but is erroneously accepted by
> 3.14p.  With  the qualification of its operands, the compiler selects
> "&" (Left, Right : String (1 .. 6)) return Name_Array.

Why is "&" (Left, Right : String) return String chosen over the "&"
(Left, Right : String (1 .. 6)) return Name_Array in this case?

-- 
Ada95 is good for you.
http://libre.act-europe.fr/Software_Matters/02-C_pitfalls.pdf



  reply	other threads:[~2002-10-08 15:56 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200210081153.NAA17399@bulgaria.otn.eurocopter.de>
2002-10-08 12:21 ` "&" for array versus "&" for Strings David C. Hoos, Sr.
2002-10-08 13:56   ` Sergey Koshcheyev
2002-10-08 15:46     ` David C. Hoos
2002-10-08 15:56       ` Preben Randhol [this message]
2002-10-10  6:28 Grein, Christoph
2002-10-10  7:15 ` Preben Randhol
  -- strict thread matches above, loose matches on Subject: below --
2002-10-10  4:35 Grein, Christoph
2002-10-10  6:06 ` Preben Randhol
2002-10-09  9:59 Grein, Christoph
2002-10-09  5:28 Grein, Christoph
2002-10-09 12:43 ` Robert A Duff
2002-10-09 17:38   ` Steven Deller
2002-10-09 19:46     ` Robert A Duff
2002-10-08 11:53 Grein, Christoph
2002-10-08 13:46 ` Preben Randhol
2002-10-08 13:49 ` Preben Randhol
2002-10-08 16:41 ` Robert A Duff
2002-10-09  9:35   ` Preben Randhol
2002-10-08 10:57 Preben Randhol
2002-10-14 16:34 ` Eric G. Miller
2002-10-14 17:54   ` Robert A Duff
replies disabled

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