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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a0833bbed8752e1f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: variable lenght strings Date: Sun, 24 Oct 2004 17:43:39 +0200 Organization: AdaCL Message-ID: <1195374.UMjBCk7lO1@linux1.krischik.com> References: <1861614.TWv5A9FgVL@linux1.krischik.com> <4178e979_1@baen1673807.greenlnk.net> Reply-To: krischik@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1098632665 01 11702 JvoTX4L6lVgQ9Ip 041024 15:44:25 X-Complaints-To: usenet-abuse@t-online.de X-ID: SPuvD-ZToei8iw1j1ekh1Ia3qMj5vLE5hDFrqzXGbeUSXLavUN9SQb User-Agent: KNode/0.8.0 Xref: g2news1.google.com comp.lang.ada:5670 Date: 2004-10-24T17:43:39+02:00 List-Id: Martin Dowie wrote: > Martin Krischik wrote: >>> 1) Is it possible to use Get_Line with Unbounded and/or Bounded >>> Strings? >> >> Well the Standart overlooked that one. However it is quite easy to >> write your own - either a recursive solution for String or a loop >> solution with Unbounded_String. > > Being added in Ada2005, see Ada.Text_IO.Unbounded_IO in > http://www.ada-auth.org/cgi-bin/cvsweb.cgi/AIs/AI-00301.TXT?rev=1.12 Cool. How will it handle a missing CR/LF at the end of file? With Regards Martin -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com