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,5b3c19b1631bb558 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-11-01 22:57:49 PST Path: supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.bc.tac.net!news.bc.tac.net!not-for-mail Sender: blaak@ns51.infomatch.bc.ca Newsgroups: comp.lang.ada Subject: Re: Reflection (was: Re: The best thing/greatest feature summary) 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> From: Ray Blaak Message-ID: X-Newsreader: Gnus v5.6.42/Emacs 20.3 Date: 01 Nov 2000 22:57:44 -0800 NNTP-Posting-Host: 207.34.170.115 X-Complaints-To: news@bctel.net X-Trace: news.bc.tac.net 973148257 207.34.170.115 (Wed, 01 Nov 2000 22:57:37 PST) NNTP-Posting-Date: Wed, 01 Nov 2000 22:57:37 PST Xref: supernews.google.com comp.lang.ada:1707 Date: 2000-11-01T22:57:44-08:00 List-Id: Jeff Carter writes: > I've been toying with this: [...] > generic -- Reflection > -- null; > package Reflection is > Unit_Name : constant String; > -- The full name of the unit in which this package is instantiated [...] > end Reflection; [...] > This package indicates that this kind of information is available in > Ada. We just need an easier way to access it. Very cool. Now if only tagged types could be declared within routines, and then we would be all set. Or does instantiating this package within a routine actually work? (I don't have an Ada compiler near me at the moment.) -- Cheers, The Rhythm is around me, The Rhythm has control. Ray Blaak The Rhythm is inside me, blaak@infomatch.com The Rhythm has my soul.