comp.lang.ada
 help / color / mirror / Atom feed
From: "Jon" <jkjw@brighton.ac.uk>
Subject: Re: Can you use arrays from another package ?
Date: Wed, 22 May 2002 16:16:35 +0100
Date: 2002-05-22T15:15:12+00:00	[thread overview]
Message-ID: <acgcm0$hhc$1@saturn.bton.ac.uk> (raw)
In-Reply-To: slrnaen45p.2jh.randhol+abuse@kiuk0156.chembio.ntnu.no

i know the rules of not doing peoples homework :)

but yeah it is an assignement, but that is not a question i was asked to fo,
its something i need to know to help my assignment.


"Preben Randhol" <randhol+abuse@pvv.org> wrote in message
news:slrnaen45p.2jh.randhol+abuse@kiuk0156.chembio.ntnu.no...
> On Wed, 22 May 2002 13:11:03 +0100, Jon wrote:
> > if i try that program i keep getting
> >
> > "A" no declared in "X"
> >
> >
> > so you are saying instead of declaring the type in package body X, i
should
> > declare it public in the package spec X ?
>
> No you should declare it private in the package spec and then use a
> function/procedure to get it.
>
> Is this an assignment?
>
> Preben





  reply	other threads:[~2002-05-22 15:16 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-21 22:28 Can you use arrays from another package ? Jon
2002-05-21 23:31 ` tmoran
2002-05-21 23:37 ` Dale Stanbrough
2002-05-22  1:47   ` Jeffrey Carter
2002-05-22  6:13   ` Adrian Hoe
2002-05-22  1:52 ` Robert Dewar
2002-05-22 12:11   ` Jon
2002-05-22 12:36     ` Preben Randhol
2002-05-22 15:16       ` Jon [this message]
2002-05-22 19:17         ` Preben Randhol
2002-05-22 22:22       ` Robert Dewar
2002-05-24  4:17         ` Richard Riehle
2002-05-24 13:41           ` Larry Kilgallen
2002-06-01 11:19           ` Georg Bauhaus
2002-05-24 10:07         ` John English
replies disabled

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