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-05 12:39:33 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.sfba.home.com.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Calling through function pointer--syntax question References: <9fj5nm$sg0$1@news.netmar.com> X-Newsreader: Tom's custom newsreader Message-ID: Date: Tue, 05 Jun 2001 19:39:32 GMT NNTP-Posting-Host: 24.7.82.199 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.sfba.home.com 991769972 24.7.82.199 (Tue, 05 Jun 2001 12:39:32 PDT) NNTP-Posting-Date: Tue, 05 Jun 2001 12:39:32 PDT Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: archiver1.google.com comp.lang.ada:8187 Date: 2001-06-05T19:39:32+00:00 List-Id: > P (func (5)); -- IS THIS AMBIGUOUS? It looks quite clear to me. func(5) should print func parameter is 5 and return a func_ptr, namely func1'access. Then P(func_ptr) should print P with function parameter called Indeed, when I compile and execute that's what I get. Why did you worry?