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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no 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-09 12:39:18 PST Path: supernews.google.com!sn-xit-02!supernews.com!isdnet!grolier!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshub2.home.com!news.home.com!news1.rdc1.mi.home.com.POSTED!not-for-mail From: "mcdoobie" Subject: Re: A question on function calls and defs. Newsgroups: comp.lang.ada Organization: Caffinated Corps References: <3AA861ED.B7B53112@acm.org> User-Agent: Pan/0.8.1beta6 (Unix) X-No-Productlinks: Yes Message-ID: Date: Fri, 09 Mar 2001 20:39:17 GMT NNTP-Posting-Host: 24.0.109.49 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.mi.home.com 984170357 24.0.109.49 (Fri, 09 Mar 2001 12:39:17 PST) NNTP-Posting-Date: Fri, 09 Mar 2001 12:39:17 PST Xref: supernews.google.com comp.lang.ada:5581 Date: 2001-03-09T20:39:17+00:00 List-Id: In article <3AA861ED.B7B53112@acm.org>, "Jeffrey Carter" wrote: > 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? > The only error I get is ... "array type required in indexed component" Thats it. The compiler is reporting no other errors, which leads me to beleive that I made a mistake somewhere specifically related to the function call. Perhaps I should post the whole program? It's really short. McDoobie