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,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,87a926dbf0cf8cb1 X-Google-Attributes: gid103376,public From: "David Botton" Subject: Re: newbie problem Date: 1998/12/04 Message-ID: <7499kp$2jn4$1@news.gate.net>#1/1 X-Deja-AN: 418694139 References: <3667EE11.6E94BA0F@interact.net.au> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Organization: CyberGate, Inc. Newsgroups: comp.lang.ada Date: 1998-12-04T00:00:00+00:00 List-Id: Take a look at the following URL: http://www.cs.uofs.edu/~beidler/Ada/cgi/cgitoc-U.html#Ustrings This is a package called UStrings that lets you use unbounded strings (what you are looking for) in a very natural way like: help_me_please : Unbounded_String; Ustring.Get_Line(help_me_please); The srouce code for the package is part of the cgi package at: http://wuarchive.wustl.edu/languages/ada/swcomps/cgi/cgi.html David Botton The Ada Source Code Treasury http://www.botton.com/ada From: Graeme Wallace >If I want to get user input for my program in the form of a string of >undefined length, how do I do so ? If I set the string length to, say: > >help_me_please : String(1..20); > >I seem to be stuck with a string exactly that size. What is the >variable assignment which allows the actual length of the user input to >determine the length of the string which the io system >(ada.text_io.)gets ? > >G Wallace > >Thankyou. >:-) >