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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,88c88377aca4f3e1 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!n4g2000vba.googlegroups.com!not-for-mail From: convergence82 Newsgroups: comp.lang.ada Subject: Re: object(<>) Date: Mon, 13 Apr 2009 11:10:16 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <18c70875-f9c2-4883-8c30-aaac314746f5@b1g2000vbc.googlegroups.com> <1f38bec4-2047-4ae6-aeb9-cd84c29ccb1c@v1g2000prd.googlegroups.com> NNTP-Posting-Host: 12.129.98.129 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1239646216 4176 127.0.0.1 (13 Apr 2009 18:10:16 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 13 Apr 2009 18:10:16 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: n4g2000vba.googlegroups.com; posting-host=12.129.98.129; posting-account=GUi2_woAAAC35fIdm7SYuE27jQOp7-FX User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 S1PS Xref: g2news2.google.com comp.lang.ada:5446 Date: 2009-04-13T11:10:16-07:00 List-Id: On Apr 13, 1:58=A0pm, anhvofrc...@gmail.com wrote: > On Apr 13, 9:30=A0am, convergence82 wrote: > > > > > > > what does this mean? =A0Does it mean that I can call joemontana > > ( anytype)? > > > -------------------------jeffrey.ads > > =A0 type Cd is .......... > > =A0 package Convert_Cd is new joemontana(Cd); =A0 --=3D=3D=3D=3D> does = this mean > > I'm instantiating the > > > -- =A0 =A0 =A0 =A0 =A0 generic package joemontana for the type 'Cd'? > > > -------------------------jeffrey.adb > > with_cd : System.Address > > =A0 x :=3D Convert_Cd.To_Pointer( with_cd); > > > -------------------------joemontana.spc > > generic > > =A0 type Object(<>) is limited private; > > package joemontana is > > =A0 type Object_Pointer is access all Object; > > =A0 ... > > =A0 function To_Pointer(Value : System.Address) return Object_Pointer; > > =A0 ... > > end joemontana; > > Yes, it means just that. But wait, you can save time by using the > predefined one,http://adaic.org/standards/05rm/html/RM-13-7-2.html#I4643 > > A. Vo- Hide quoted text - > > - Show quoted text - Ah yes. I forgot to mention that in the header of the package I'm looking at, it references just that. So I guess I'm looking at some automated code generation?? Because it is awefully layered sorta speak, at least for a newbie here. Steph