comp.lang.ada
 help / color / mirror / Atom feed
From: smize@news.imagin.net (Samuel Mize)
Subject: Re: Problem with packages
Date: 1998/04/27
Date: 1998-04-27T00:00:00+00:00	[thread overview]
Message-ID: <6i2sp3$qfv$1@prime.imagin.net> (raw)
In-Reply-To: 01bd706a$6007a540$db41a6c3@grat.softnet.co.uk


Sean kenny <skenny@gifford.co.uk> 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/




  parent reply	other threads:[~1998-04-27  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <01bd706a$6007a540$db41a6c3@grat.softnet.co.uk>
1998-04-25  0:00 ` Problem with packages Tucker Taft
1998-04-27  0:00 ` Samuel Mize [this message]
1998-04-27  0:00 ` Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox