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,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,330ec86e1824a689 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-08-28 11:38:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!207.115.63.138!newscon04.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr30.news.prodigy.com.POSTED!not-for-mail From: "Pat Rogers" Newsgroups: comp.lang.ada References: <5ee5b646.0208280304.614d11fc@posting.google.com> Subject: Re: Run-Time Type Assignment X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: NNTP-Posting-Host: 208.191.182.164 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr30.news.prodigy.com 1030559855 ST000 208.191.182.164 (Wed, 28 Aug 2002 14:37:35 EDT) NNTP-Posting-Date: Wed, 28 Aug 2002 14:37:35 EDT Organization: Prodigy Internet http://www.prodigy.com X-UserInfo1: FKPGWWCEJKVOBTT^]BCB^]\@PJ_^PBQLGPQRZ\YIJYWZUYICD^RAQBKZQTZTX\_I[^G_KGFNON[ZOE_AZNVO^\XGGNTCIRPIJH[@RQKBXLRZ@CD^HKANYVW@RLGEZEJN@\_WZJBNZYYKVIOR]T]MNMG_Z[YVWSCH_Q[GPC_A@CARQVXDSDA^M]@DRVUM@RBM Date: Wed, 28 Aug 2002 18:37:35 GMT Xref: archiver1.google.com comp.lang.ada:28520 Date: 2002-08-28T18:37:35+00:00 List-Id: "Frank J. Lhota" wrote in message news:Jf8b9.15221$zT.6491@nwrddc04.gnilink.net... > "Robert A Duff" wrote in message > news:wccn0r7hx5y.fsf@shell01.TheWorld.com... > > Kilgallen@SpamCop.net (Larry Kilgallen) writes: > > > > > What is a downward closure ? > > > > The ability to pass a procedure as a parameter to a procedure. > > > > > GNAT supports downward closures via the 'Unrestricted_Access attribute, > > but that's not Ada (unfortunately). > > What about using just the plain old 'Access attribute to pass a pointer to > the procedure as a parameter? That is supported by all Ada 95 compilers. The accessibility rules prevent that approach in the general case. Do a search -- this topic is well covered! -- Patrick Rogers Consulting and Training in: http://www.classwide.com Real-Time/OO Languages progers@classwide.com Hard Deadline Schedulability Analysis (281)648-3165 Software Fault Tolerance