comp.lang.ada
 help / color / mirror / Atom feed
From: nobody@REPLAY.COM (Anonymous)
Subject: Re: 'first of strings returned from a function should be 1?
Date: 1997/07/29
Date: 1997-07-29T00:00:00+00:00	[thread overview]
Message-ID: <199707291314.PAA24611@basement.replay.com> (raw)
In-Reply-To: EE1DJ2.LnI@world.std.com


<5rcaqi$le8$1@goanna.cs.rmit.edu.au>
<01bc9a76$459c2250$4c8371a5@dhoossr>
<mheaney-ya023680002707971114240001@news.ni.net>

On Mon, 28 Jul 1997 15:54:37 GMT, bobduff@world.std.com (Robert A Duff)
wrote:

> Ada would be a better language if there were a (convenient) way to
> specify that the lower bound of an array is fixed, and that the
> upper bound is not.  And if the predefined type String used that
> feature to specify that the lower bound of all Strings is 1, whereas
> the upper bound is different for different strings.

Given:

procedure P (S : in out String);
..
V : String (1 .. 100);
..
P (V (5 .. 96) );

What happens inside P? Does this part of V have a lower bound of 1
inside P but a lower bound of 5 outside?

Jeff Carter  PGP:1024/440FBE21
My real e-mail address: ( carter @ innocon . com )
"Now go away or I shall taunt you a second time."
Monty Python & the Holy Grail

Posted with Spam Hater - see
http://www.compulink.co.uk/~net-services/spam/




  reply	other threads:[~1997-07-29  0:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5rcaqi$le8$1@goanna.cs.rmit.edu.au>
1997-07-26  0:00 ` 'first of strings returned from a function should be 1? Matthew Heaney
1997-07-27  0:00 ` Dale Stanbrough
1997-07-27  0:00 ` David C. Hoos, Sr.
1997-07-27  0:00   ` Simon Wright
1997-07-27  0:00   ` Dale Stanbrough
1997-07-27  0:00     ` Robert A Duff
1997-07-27  0:00       ` Dale Stanbrough
1997-07-27  0:00         ` Matthew Heaney
1997-07-27  0:00   ` Matthew Heaney
1997-07-28  0:00     ` Robert A Duff
1997-07-29  0:00       ` Anonymous [this message]
1997-07-30  0:00         ` Robert A Duff
1997-07-30  0:00       ` Dale Stanbrough
replies disabled

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