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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d655a6c8557d8a35 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-14 10:18:41 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Matthew Heaney" Newsgroups: comp.lang.ada Subject: Re: Storing A string Date: Thu, 14 Feb 2002 13:23:48 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.lang.ada:20016 Date: 2002-02-14T13:23:48-05:00 List-Id: "Anthony Wise" 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.