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,5c8024b730bb1bfb X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-05 01:55:40 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!newsfeed.hanau.net!fr.clara.net!heighliner.fr.clara.net!deine.net!intgwpad.nntp.telstra.net!news.telstra.net!news-server.bigpond.net.au!not-for-mail From: Dale Stanbrough Newsgroups: comp.lang.ada Subject: Re: Compiler error: 'Expect procedure name in procedure call' References: <445cd6bf.0211040705.3b638858@posting.google.com> <445cd6bf.0211041157.1537dfd5@posting.google.com> <3dc6e966_1@news.bluewin.ch> <445cd6bf.0211050129.3afa4d54@posting.google.com> User-Agent: MT-NewsWatcher/3.3b1 (PPC Mac OS X) Message-ID: Date: Tue, 05 Nov 2002 09:55:38 GMT NNTP-Posting-Host: 144.132.47.50 X-Complaints-To: news@bigpond.net.au X-Trace: news-server.bigpond.net.au 1036490138 144.132.47.50 (Tue, 05 Nov 2002 20:55:38 EST) NNTP-Posting-Date: Tue, 05 Nov 2002 20:55:38 EST Organization: BigPond Internet Services (http://www.bigpond.net.au) Xref: archiver1.google.com comp.lang.ada:30377 Date: 2002-11-05T09:55:38+00:00 List-Id: In article <445cd6bf.0211050129.3afa4d54@posting.google.com>, j_del_strother@hotmail.com (Jon) wrote: > > In some cases, absolutely. For example, flipping a bitmap to the DC > will return the old bitmap that was originally stored there. I then > have to create a useless temporary variable for it... The solution is to create a procedural version of the C function which assigns the return value to an ignored local variable. Because you can overload subprograms by return type, you can have both of them in the same package. Dale