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-Thread: 103376,a041c7c5a234c583 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.inode.at!news.hispeed.ch!linux2.krischik.com!news From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: children unity Date: Tue, 06 Sep 2005 20:01:21 +0200 Organization: Cablecom Newsserver Message-ID: <281516988.lVlFm8Tpyh@linux1.krischik.com> References: <1126025898.866369.318320@g47g2000cwa.googlegroups.com> NNTP-Posting-Host: 84-73-3-68.dclient.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.hispeed.ch 1126108820 21568 84.73.3.68 (7 Sep 2005 16:00:20 GMT) X-Complaints-To: news@hispeed.ch NNTP-Posting-Date: Wed, 7 Sep 2005 16:00:20 +0000 (UTC) User-Agent: KNode/0.9.2 Xref: g2news1.google.com comp.lang.ada:4500 Date: 2005-09-06T20:01:21+02:00 List-Id: nicolas.b wrote: > this is an example : > > generic > type Toto is private; > package Father is > ... > end Father; > > generic > type Titi is private; > procedure Father.Children (...); > > My question : How can i use the children unity Father.Children ? > package Inst_Father is new Father (Toto => ...); > procedure Inst_Children is new Father.Children (Titi => ...); -- > compilation error ??? procedure Inst_Children is new Inst_Father.Children (Titi => ...); -- But really *any* tutorial tells you that!! Martin -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com