comp.lang.ada
 help / color / mirror / Atom feed
From: "Matthew Heaney" <mheaney@on2.com>
Subject: Re: Storing A string
Date: Thu, 14 Feb 2002 13:23:48 -0500
Date: 2002-02-14T13:23:48-05:00	[thread overview]
Message-ID: <u6nvs0ejl4j683@corp.supernews.com> (raw)
In-Reply-To: mailman.1013706303.15083.comp.lang.ada@ada.eu.org


"Anthony Wise" <iamwisey_@hotmail.com> wrote in message
news:mailman.1013706303.15083.comp.lang.ada@ada.eu.org...
> I need my program to be able to accept lines of text.  These lines can be
as
> long or short as the user likes.
> I am using the Get_Line procedure (Using only one string), however this
> allows only one entery.  So i put Get_Line in a loop, but now the only
> accessable input is the last input.  Is there anyway i can store all the
> inputs so i can process  them and then output them all together.
> all advice welcomed thx.

You can either write a recursive version of you string query function, that
returns type String as the return value, or implement a loop and store
fixed-length strings in an Unbounded_String.







  parent reply	other threads:[~2002-02-14 18:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-14 17:04 Storing A string Anthony Wise
2002-02-14 18:07 ` Marin David Condic
2002-02-14 18:23 ` Matthew Heaney [this message]
2002-02-15 13:05 ` Marc A. Criley
     [not found] <F14ETmXuldbjZj8RfDy00001fdf@hotmail.com>
2002-02-21 12:21 ` M. A. Alves
replies disabled

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