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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c2d2708a248cb88 X-Google-Attributes: gid103376,public From: smize@news.imagin.net (Samuel Mize) Subject: Re: Problem with packages Date: 1998/04/27 Message-ID: <6i2sp3$qfv$1@prime.imagin.net>#1/1 X-Deja-AN: 348210986 References: <01bd706a$6007a540$db41a6c3@grat.softnet.co.uk> Reply-To: smize@imagin.net (Samuel Mize) Organization: ImagiNet Communications Ltd, Arlington, Texas Newsgroups: comp.lang.ada Date: 1998-04-27T00:00:00+00:00 List-Id: Sean kenny wrote: >can anyone tell us why this the following code won't compile The variable working_hold is of type hold_id, which is limited private. Nobody outside the package Foreman can see that it's an access to a task. Best, Sam Mize >WITH foreman; >use foreman; ... > working_hold: hold_id; >begin ... > working_hold.next_container(hold_state); <---- ... > working_hold.complete; <------ ... >package foreman is ... >type hold_id is limited private; -- Samuel Mize -- smize@imagin.net (home email) -- Team Ada Multi-part MIME message: " ", " ", " " (hands waving) Fight Spam - see http://www.cauce.org/