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,e0dc3fcb6c922d48 X-Google-Attributes: gid103376,public From: nobody@REPLAY.COM (Anonymous) Subject: Re: Unconstrained String Handling. Date: 1997/07/03 Message-ID: <199707031431.QAA14879@basement.replay.com>#1/1 X-Deja-AN: 254289048 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-03T00:00:00+00:00 List-Id: On Thu, 3 Jul 1997 13:21:33 +0100, RC wrote: > > Is there a portable way to handle data elements of type: string? > > (Any attributes which can be accessed for instance.) > > As for constant strings: > > line1: constant string := "Some text."; > > > begin > put_line (line1); > put_line (line1'last); > > .... > > > > procedure string_op (ip_text: IN STRING) is > begin > ????? > > > > > Thanks, > > RC1 > > Type String is simply a one-dimensional array type, its declaration is type String is array(Positive range <>) of Character; from ARM 3.6.3(4), so all attributes of array types are defined for String. 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/