comp.lang.ada
 help / color / mirror / Atom feed
From: mab@dst17.wdl.loral.com (Mark A Biggar)
Subject: Re: Scope of variables in package ??
Date: 1996/06/27
Date: 1996-06-27T00:00:00+00:00	[thread overview]
Message-ID: <4qu7nd$h59@wdl1.wdl.loral.com> (raw)
In-Reply-To: 31D1A979.103B@vzcorp.com

In article <31D1A979.103B@vzcorp.com> "Sandeep V. Kharkar" <skharkar@vzcorp.com> writes:
>If a function/procedure is defined as SEPARATE,i.e.,
>implementation outside the PACKAGE BODY, can it still see
>variables defined inside the PACKAGE BODY but
>not in the PACKAGE SPECIFICATION  ??

No it still sees both.  A separate unit is compiled just as if it were
textually embedded in the package body at the place of the separate
declaration and thus can see everything in the body before that point
and the whole of the spec.

--
Mark Biggar
mab@wdl.lmco.com






       reply	other threads:[~1996-06-27  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <31D1A979.103B@vzcorp.com>
1996-06-27  0:00 ` Mark A Biggar [this message]
1996-06-27  0:00 ` Scope of variables in package ?? Tucker Taft
1996-06-28  0:00 ` John Herro
replies disabled

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