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,e219d94b946dfc26 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!198.186.194.251.MISMATCH!news-out.readnews.com!transit4.readnews.com!panix!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Ada.Command_Line and wildcards Date: Sun, 25 Feb 2007 07:21:28 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <45dcaed8_6@news.bluewin.ch> <1172132169.423514.271890@s48g2000cws.googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1172406088 8345 192.74.137.71 (25 Feb 2007 12:21:28 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Sun, 25 Feb 2007 12:21:28 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:WdP8g62QMK4TBLU4OLguLemmC7E= Xref: g2news2.google.com comp.lang.ada:9518 Date: 2007-02-25T07:21:28-05:00 List-Id: Hyman Rosen writes: > Robert A Duff wrote: >> without overflowing some buffer than can never be the right size > > Oddly enough, when newbies ask how to read input in Ada, > the general response here is to read lines into a fixed- > size buffer which too can never be the right size. Indeed, that is a serious flaw in the design of Ada. By the way, Ada 2005 has a function Get_Line that returns type String. - Bob