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=0.7 required=5.0 tests=BAYES_00,MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5b3c19b1631bb558 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-11-02 08:10:18 PST From: Ted Dennison Newsgroups: comp.lang.ada Subject: Re: Reflection (was: Re: The best thing/greatest feature summary) Date: Thu, 02 Nov 2000 16:02:25 GMT Organization: Deja.com - Before you buy. Message-ID: <8ts36a$8id$1@nnrp1.deja.com> References: <39DCB9E3.EAE8F426@ftw.rsc.raytheon.com> <39F9FCCE.D6719C6F@ftw.rsc.raytheon.com> <1c9kvs4uvj4ofd46f7a8vq0pju596iu2gr@4ax.com> <39fed7b6@rsl2.rslnet.net> <39FF1DBD.74184FDC@worldnet.att.net> <39ff792d@rsl2.rslnet.net> <39FF8DE3.EC0055B5@worldnet.att.net> <3A00375E.19433DC0@worldnet.att.net> <3A00E2D0.42440CB0@acm.org> NNTP-Posting-Host: 204.48.27.130 X-Article-Creation-Date: Thu Nov 02 16:02:25 2000 GMT X-Http-User-Agent: Mozilla/4.7 [en] (WinNT; I) X-Http-Proxy: 1.0 x66.deja.com:80 (Squid/1.1.22) for client 204.48.27.130 X-MyDeja-Info: XMYDJUIDtedennison Path: supernews.google.com!sn-xit-02!supernews.com!sienna.impulse.net!news.netcologne.de!stueberl.r-kom.de!newsfeed00.sul.t-online.de!t-online.de!newsfeed.icl.net!diablo.netcom.net.uk!netcom.net.uk!cpk-news-hub1.bbnplanet.com!news.gtei.net!nntp2.deja.com!nnrp1.deja.com!not-for-mail Xref: supernews.google.com comp.lang.ada:1723 Date: 2000-11-02T16:02:25+00:00 List-Id: In article , Ray Blaak wrote: > Or does instantiating this package within a routine actually work? (I > don't have an Ada compiler near me at the moment.) Not only does it work, but older versions of OpenToken encouraged it! One nice thing this allows it the ability to use subroutine accesses for subroutines that aren't declared at the library level (eg: within the declarations of a "main" subprogram). The problem is that it *doesn't* work if said generic contains a controlled type declaration (or any other extension of a library-level declared tagged type). Personally I think this is a major problem with controlled types. -- T.E.D. http://www.telepath.com/~dennison/Ted/TED.html Sent via Deja.com http://www.deja.com/ Before you buy.