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.2 required=5.0 tests=BAYES_00,FROM_WORDY, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,772ae8afc5db35f2 X-Google-Attributes: gid103376,public From: "Nick Roberts" Subject: Re: Can't export object of private type Date: 1999/03/03 Message-ID: <7bk6gh$6d9$2@plug.news.pipex.net>#1/1 X-Deja-AN: 450882456 References: X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: UUNET WorldCom server (post doesn't reflect views of UUNET WorldCom) Newsgroups: comp.lang.ada Date: 1999-03-03T00:00:00+00:00 List-Id: Also, you need to remove the function Solo_T from package T (it does nothing and won't compile), and move the declaration of Self from the private part of package T.Child (where it doesn't need to be, and will cause an unnecessary dependency) to the package's body. The 'access' parameters in the subprograms need only be 'in out' parameters; this is (pointedly!) a case where access parameters serve no useful purpose (because the objects are always going to be declared at library level). Otherwise: perfect! ------------------------------------- Nick Roberts -------------------------------------