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-Thread: 103376,33fc00a6ce6be410 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!209.244.4.230!newsfeed1.dallas1.level3.net!news.level3.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Dynamic String Date: 31 Oct 2005 06:05:53 -0600 Organization: LJK Software Message-ID: References: <1130753721.639869.322210@g43g2000cwa.googlegroups.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1130760337 3145 192.135.80.34 (31 Oct 2005 12:05:37 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Mon, 31 Oct 2005 12:05:37 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:6072 Date: 2005-10-31T06:05:53-06:00 List-Id: In article <1130753721.639869.322210@g43g2000cwa.googlegroups.com>, "Harald Korneliussen" writes: > > TC wrote: >> I have some problem with Strings Unbounded. >> How read a string from keyboard and put in S(Strings Unbounded)? >> >> there is a manual or site on line that have an example of use the >> Strings Unbounded, Wiki is no very good > > I believe GNAT has a utility function to do this. But when such a > function is not standardized, I wonder how some people can say (like > they do in wikibooks) that Ada is a rapid application development > language. Rapid application development makes sense for keyboard-style interfaces where one is going to accept input from humans. Pick a maximum size and go with it. If your goal is to parse XML strings of arbitrary size created by some other computer, then a more careful approach than RAD is required.