From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5c1c45943bf6a5bc X-Google-Attributes: gid103376,public From: nobody@REPLAY.COM (Anonymous) Subject: Re: 'first of strings returned from a function should be 1? Date: 1997/07/29 Message-ID: <199707291314.PAA24611@basement.replay.com>#1/1 X-Deja-AN: 260150156 References: Organization: Replay and Company UnLimited X-001: Replay may or may not approve of the content of this posting Mail-To-News-Contact: postmaster@nym.alias.net X-002: Report misuse of this automated service to X-URL: http://www.replay.com/remailer/ Newsgroups: comp.lang.ada Date: 1997-07-29T00:00:00+00:00 List-Id: <5rcaqi$le8$1@goanna.cs.rmit.edu.au> <01bc9a76$459c2250$4c8371a5@dhoossr> 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/