comp.lang.ada
 help / color / mirror / Atom feed
From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen)
Subject: Re: Strings initialised by literals
Date: 23 Jul 2001 05:55:29 -0500
Date: 2001-07-23T05:55:29-05:00	[thread overview]
Message-ID: <Yfobu8AEGUqb@eisner.encompasserve.org> (raw)
In-Reply-To: 3B5B7E39.79B814F4@avercom.net

In article <3B5B7E39.79B814F4@avercom.net>, Tucker Taft <stt@avercom.net> writes:
> 
> 
> James Rogers wrote:
> 
>> This is guaranteed by the language.
>>
>> The string type is defined as :
>>
>> type string is array(Positive range <>) of character;
> 
> Not all strings start at 1.  However, when there is no "applicable index
> constraint" provide by context, then the low bound is the lower bound of
> the index subtype, which in this case is Positive (and Positive'First =
> 1).
> See RM95 4.3(26).

Actually 4.3.3(26), I presume (now that you have pointed it out).



      parent reply	other threads:[~2001-07-23 10:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-21 18:58 Strings initialised by literals Matthew Woodcraft
2001-07-22  0:52 ` James Rogers
2001-07-23  1:30   ` Tucker Taft
2001-07-23  2:45     ` James Rogers
2001-07-23 10:55     ` Larry Kilgallen [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