comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: "&" for array versus "&" for Strings
Date: Mon, 14 Oct 2002 17:54:31 GMT
Date: 2002-10-14T17:54:31+00:00	[thread overview]
Message-ID: <wccvg44ucrs.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: pan.2002.10.14.16.38.51.890659@jps-nospam.net

"Eric G. Miller" <egm2@jps-nospam.net> writes:

> In <slrnaq5ehk.5c6.randhol+news@kiuk0152.chembio.ntnu.no>, Preben Randhol wrote:
> >    Print_Names ("Ada   " & "Babbel");

> AFAIK, "Ada   " & "Babbel"  is type String(1..12) not Name_Array(1..2).

The expression "Ada   " & "Babbel" could be of various types, depending
on context.  You can't say it "is" of type String all by itself.
In the context of Print_Names ("Ada   " & "Babbel");,
the type is determined (in part) by the type of the formal parameter.

- Bob



  reply	other threads:[~2002-10-14 17:54 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-08 10:57 "&" for array versus "&" for Strings Preben Randhol
2002-10-14 16:34 ` Eric G. Miller
2002-10-14 17:54   ` Robert A Duff [this message]
  -- strict thread matches above, loose matches on Subject: below --
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
     [not found] <200210081153.NAA17399@bulgaria.otn.eurocopter.de>
2002-10-08 12:21 ` 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
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-09  9:59 Grein, Christoph
2002-10-10  4:35 Grein, Christoph
2002-10-10  6:06 ` Preben Randhol
2002-10-10  6:28 Grein, Christoph
2002-10-10  7:15 ` Preben Randhol
replies disabled

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