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,e12eaef454b9be92 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Please help (quite urgent)- newbie Date: 14 Apr 2005 17:26:20 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <1113513560.137072.307410@o13g2000cwo.googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls4.std.com 1113513980 12552 192.74.137.71 (14 Apr 2005 21:26:20 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Thu, 14 Apr 2005 21:26:20 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: g2news1.google.com comp.lang.ada:10479 Date: 2005-04-14T17:26:20-04:00 List-Id: "conchale@mac.com" writes: > Hi all, I finished my homework, it was to convert one whole code in > three pieces, with package , body and the "test" executable code. > The big whole code (the original one) works flawlesly. > My .ads and .adb are correct but the test.adb has almost exactly the > same as the original code but when compiling I have this error: > "invalid parameter list in call (use -gnatf for details)" > the line(s) refering to it has: > procedure test1 is > > MM: month; > YY: year; > begin > Put("give a month in number: "); > get(MM); --this is line the error is refering to > new_line; I can't tell what the error is, because you didn't post the whole example. There are probably many procedures called "Get", and the compiler couldn't find the "right" one, unambiguously. Is there a Get that takes Month as parameter? The advice in the error message (use -gnatf for details) is good. Do that. It will print out a whole lot of details, which might help you figure out what's wrong. If you still can't figure it out, try posting the whole example, and maybe somebody will help. - Bob