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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Re : Simple call of Procedure with Ada.float_text_IO.Get Date: Tue, 3 Nov 2015 12:02:35 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <87h9l4eeon.fsf@adaheads.sparre-andersen.dk> <39131715-ea95-4188-93a1-a9819aa5472b@googlegroups.com> <87d1vse2nk.fsf@adaheads.sparre-andersen.dk> <590d628d-41d5-454e-ae4d-a3c72e0ac698@googlegroups.com> <097ed1af-f5a3-4b91-843c-124ae349a49a@googlegroups.com> <117ec1cb-834e-4aef-8449-0aa32c05fd27@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Tue, 3 Nov 2015 19:00:24 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="caa759af2a9c666aec02942f6fe5abd6"; logging-data="498"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18UztM8GiJ/SyC52VropI3/8Upk/A3HIys=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: <117ec1cb-834e-4aef-8449-0aa32c05fd27@googlegroups.com> Cancel-Lock: sha1:7jAUuQ4UQUVgTKl2W5AZ9MLU7OY= Xref: news.eternal-september.org comp.lang.ada:28201 Date: 2015-11-03T12:02:35-07:00 List-Id: On 11/03/2015 11:40 AM, comicfanzine@gmail.com wrote: > > Thank you, that exactly my problem , i want to use the Ada.float_text_IO.Get > Procedure and supply in my body package those items needed . The point is > there are several of them(without File management) : > > procedure Get (Item : out Num; Width : Field := 0); > > procedure Get (From : String; Item : out Num; Last : out Positive); There is also procedure Get(File : in File_Type; Item : out Num; Width : in Field := 0); If you've read the descriptions of these procedures in the ARM (ARM A.10.9) then you should know what each one does, and which one you want. http://www.adaic.org/resources/add_content/standards/12rm/html/RM-A-10-9.html You should be familiar with the standard library described in ARM Annex A if you're going to use Ada. -- Jeff Carter "Drown in a vat of whiskey. Death, where is thy sting?" Never Give a Sucker an Even Break 106