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!feeder.eternal-september.org!feeder.erje.net!1.eu.feeder.erje.net!news.albasani.net!reality.xs3.de!news.jacob-sparre.dk!loke.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: Re : Simple call of Procedure with Ada.float_text_IO.Get Date: Mon, 02 Nov 2015 18:23:27 +0100 Organization: JSA Research & Innovation Message-ID: <87d1vse2nk.fsf@adaheads.sparre-andersen.dk> References: <87h9l4eeon.fsf@adaheads.sparre-andersen.dk> <39131715-ea95-4188-93a1-a9819aa5472b@googlegroups.com> NNTP-Posting-Host: 109.57.119.140.mobile.3.dk Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: loke.gir.dk 1446485009 19673 109.57.119.140 (2 Nov 2015 17:23:29 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Mon, 2 Nov 2015 17:23:29 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:EXFVLR4xrck7o35DCYWcsLc8PKc= Xref: news.eternal-september.org comp.lang.ada:28178 Date: 2015-11-02T18:23:27+01:00 List-Id: comicfanzine@gmail.com writes: > Le lundi 2 novembre 2015 14:03:39 UTC+1, Jacob Sparre Andersen a écrit : >> You say that you understand the error messages. What do they mean? > They mean that i don't use the "Procedure Get" right , i understand > but i don't know how to fix it . They say so much more than that. First: The error messages point out that there are two procedures which match the name Identification.Get, one declared on line 7 and one declare on line 8 in the specification of the package Identification. Second: They point out that if you want to call the one declared on line 7, the formal parameter Password is missing, and that if you want to call the one declared on line 8, the formal parameter From is missing. > Here is the code whith errors included , the presentation is better if > you copy-paste it into your text-editor: I don't want to copy-paste your source text to an editor. I want you to format it properly (standard indentation for example), so it is easy to read. >> PPS: Which textbook (or other sources) are you using to learn Ada? I >> think it might be useful, if you tried to work through the exercises >> in before continuing your own Ada >> project. > Thanks , i learn with many textbooks , but right now , i'm trying to > use the fonctions in Ada.text_io(like Ada.float_text_IO.Get) right . But it appears that you haven't learnt enough Ada to use them yet. Greetings, Jacob -- »A corollary of Murphy's law is that duplicate information eventually becomes different information. Putting both in the same file may slow down the process, but it will not prevent it.« -- Wes Groleau