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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1e0472f55fc12a52,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-17 12:25:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.cse.psu.edu!uwm.edu!arclight.uoregon.edu!wn13feed!wn12feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc54.POSTED!not-for-mail From: "Steve" Newsgroups: comp.lang.ada Subject: How do I create an object instance from a tag? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: NNTP-Posting-Host: 12.211.13.75 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc54 1045513502 12.211.13.75 (Mon, 17 Feb 2003 20:25:02 GMT) NNTP-Posting-Date: Mon, 17 Feb 2003 20:25:02 GMT Organization: AT&T Broadband Date: Mon, 17 Feb 2003 20:25:02 GMT Xref: archiver1.google.com comp.lang.ada:34177 Date: 2003-02-17T20:25:02+00:00 List-Id: I would like to create a function that returns a reference to a class wide object based on the external name. Something along the lines of: function Create_Object( external_name : String ) return objAcc is returnTag : Ada.Tags.Tag; begin returnTag := Ada.Tags.Internal_Tag( external_name ); return ??? some function of returnTag ??? end Create_Object; Can this be done? I've perused the rationale and the RM and haven't run across anything. Steve (The Duck)