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-10 04:13:24 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!hub.org!hub.org!newsfeed.wirehub.nl!feed2.onemain.com!feed1.onemain.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3AAA1A1C.4DA9E889@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: <3AA861ED.B7B53112@acm.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 10 Mar 2001 12:12:12 GMT NNTP-Posting-Host: 158.252.146.154 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 984226332 158.252.146.154 (Sat, 10 Mar 2001 04:12:12 PST) NNTP-Posting-Date: Sat, 10 Mar 2001 04:12:12 PST Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: supernews.google.com comp.lang.ada:5605 Date: 2001-03-10T12:12:12+00:00 List-Id: mcdoobie wrote: > > The only error I get is ... > > "array type required in indexed component" This implies that the compiler does not know about a function by that name at that point. A function must be specified before it is used, and must be visible at the point of use. > Perhaps I should post the whole program? It's really short. If it's really short, that would probably be best. -- Jeff Carter "You couldn't catch clap in a brothel, silly English K...niggets." Monty Python & the Holy Grail