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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3ac670d3be4b8f7a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-08 20:58:08 PST Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3AA861ED.B7B53112@acm.org> From: Jeffrey Carter X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: A question on function calls and defs. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 09 Mar 2001 04:55:33 GMT NNTP-Posting-Host: 158.252.128.168 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 984113733 158.252.128.168 (Thu, 08 Mar 2001 20:55:33 PST) NNTP-Posting-Date: Thu, 08 Mar 2001 20:55:33 PST Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: supernews.google.com comp.lang.ada:5563 Date: 2001-03-09T04:55:33+00:00 List-Id: The number of actual and formal parameters certainly matches, and you don't seem to have anything else named Find_Volume. However, your function body appears to be at the end of the sequence of statements of your procedure body, and a function body is not allowed there. What are the exact messages you are getting from the compiler? -- Jeff Carter "I fart in your general direction." Monty Python & the Holy Grail