From: nobody@REPLAY.COM (Anonymous)
Subject: Re: Unconstrained String Handling.
Date: 1997/07/03
Date: 1997-07-03T00:00:00+00:00 [thread overview]
Message-ID: <199707031431.QAA14879@basement.replay.com> (raw)
In-Reply-To: NMFtgKANl5uzYwNP@clanchy.demon.co.uk
On Thu, 3 Jul 1997 13:21:33 +0100, RC <rc1@clanchy.demon.co.uk> 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/
next prev parent reply other threads:[~1997-07-03 0:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-07-03 0:00 Unconstrained String Handling RC
1997-07-03 0:00 ` Anonymous [this message]
1997-07-10 0:00 ` Matthew Heaney
1997-07-11 0:00 ` Anonymous
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox