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,263d6079ff6f1361 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-ham1.dfn.de!news.uni-hamburg.de!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: generic and visibility Date: Thu, 4 Nov 2004 18:59:21 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <1099581795.057353.199160@c13g2000cwb.googlegroups.com> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1099594761 22664 134.91.1.34 (4 Nov 2004 18:59:21 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Thu, 4 Nov 2004 18:59:21 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: g2news1.google.com comp.lang.ada:5991 Date: 2004-11-04T18:59:21+00:00 List-Id: mferracini wrote: [...] : package Fake_App is new Manage_Task.Det_Task_M_Pack : ( : Id_task => 1, : Init_Job => Applicazione.Init, : Job => Applicazione.Job); [...] : job in not a visible entry of fake_app : : how i can do? The sources are a bit incomplete, so I tried guessing (why is there `Id_task' when the formal parameter is really `Id', etc.?) `Job' is the name of a formal parameter of `Manage.Det' (where does `_Task_M_Pack' come from?) The subprograms that can be visible from the outside of an instance of Manage.Det are those in the package Det, that is, `Start'. It seems you want to use `Applicazione.Job' as a generic parameter, instantiatin Manage.Det. This will get you an instance, Fake_App, that has one visible subprogram, `Start'. The `Job' subprogram is (and remains) visible via `Applicazione'. -- Georg