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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,49f7dd1bad1910ff X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-14 08:05:17 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!wn14feed!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!rwcrnsc51.ops.asp.att.net.POSTED!not-for-mail Message-ID: <3F8C1037.6030005@comcast.net> From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Problems with Ada.Text_IO and strings. References: <8336eb21.0310131423.7410e1ec@posting.google.com> <8336eb21.0310140432.5508fee0@posting.google.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.34.139.183 X-Complaints-To: abuse@comcast.net X-Trace: rwcrnsc51.ops.asp.att.net 1066143804 24.34.139.183 (Tue, 14 Oct 2003 15:03:24 GMT) NNTP-Posting-Date: Tue, 14 Oct 2003 15:03:24 GMT Organization: Comcast Online Date: Tue, 14 Oct 2003 15:03:24 GMT Xref: archiver1.google.com comp.lang.ada:818 Date: 2003-10-14T15:03:24+00:00 List-Id: Bleakcabal wrote: > So I am basicly learning Ada of the net right now, I think I will buy > a book since I have problems with reading strings and all :) I think > the class book will never be ready for the end of the semester :) There are several good Ada books available on the web, including the Ada Reference Manual. I'll let others recommend on-line and published textbooks, but the ARM can be found here: http://www.ada-auth.org/~acats/arm.html It is a standard, not the best format for learning the language, but since it includes things like the standard libraries it allows you to do a quick lookup if you know that something is there, but can't remember the calling sequence. In this particular case, Ada.Strings.Unbounded can help you with your problem. (If you use the GNAT compiler, it even has an Ada.Text_IO extention to read and write Unbounded_String variables. See the GNAT documentation for that.) -- Robert I. Eachus "Quality is the Buddha. Quality is scientific reality. Quality is the goal of Art. It remains to work these concepts into a practical, down-to-earth context, and for this there is nothing more practical or down-to-earth than what I have been talking about all along...the repair of an old motorcycle." -- from Zen and the Art of Motorcycle Maintenance by Robert Pirsig