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,68e7fcc642995ece X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-06 18:22:47 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!cyclone.bc.net!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: <3B1ED74B.BFC95722@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: Calling through function pointer--syntax question References: <9fj5nm$sg0$1@news.netmar.com> <3B1E539E.CF306AC6@averstar.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 07 Jun 2001 01:22:46 GMT NNTP-Posting-Host: 209.86.205.81 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 991876966 209.86.205.81 (Wed, 06 Jun 2001 18:22:46 PDT) NNTP-Posting-Date: Wed, 06 Jun 2001 18:22:46 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net X-Received-Date: Wed, 06 Jun 2001 18:20:50 PDT (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:8284 Date: 2001-06-07T01:22:46+00:00 List-Id: Adam Beneschan wrote: > > Sorry, I'm not following . . . the default parameter in my example is on the > function "func", not on the function *pointer*. In the call > P (func (5)); > since an implicit .all is provided prior to "(", why couldn't this be > interpreted as > P (func.all (5)); > [here it's clear that the default parameter is passed to "func"]? The implicit ".all" also means the "(" starts the parameter list of the function being pointed to. You never get an implicit ".all" if there are no explicit parameters. -- Jeff Carter "Now go away or I shall taunt you a second time." Monty Python & the Holy Grail