comp.lang.ada
 help / color / mirror / Atom feed
From: Preben Randhol <randhol+abuse@pvv.org>
Subject: Re: Can you use arrays from another package ?
Date: Wed, 22 May 2002 12:36:08 +0000 (UTC)
Date: 2002-05-22T12:36:08+00:00	[thread overview]
Message-ID: <slrnaen45p.2jh.randhol+abuse@kiuk0156.chembio.ntnu.no> (raw)
In-Reply-To: acg1q9$euf$1@saturn.bton.ac.uk

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 12:36 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 [this message]
2002-05-22 15:16       ` Jon
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