comp.lang.ada
 help / color / mirror / Atom feed
From: Tucker Taft <stt@averstar.com>
Subject: Re: Library Level Question
Date: 1999/02/23
Date: 1999-02-23T00:00:00+00:00	[thread overview]
Message-ID: <36D2EC44.CDB22A0D@averstar.com> (raw)
In-Reply-To: 36ca3e87.0@news.pacifier.com

There are several mistaken replies here.

Library unit packages are at library level,
as are all their contents, both spec and body.
You only "leave" library level by going inside
a subprogram, a type, a generic, etc.
You *stay* at the same level when you enter a sub-package.

Accessibility level relates to "lifetime."  The contents
of a package live as long as the package itself.
On the other hand, the declarations inside a subprogram
last only as long as any given *call* on the subprogram,
whereas the subprogram itself lasts as long as the enclosing
scope lives.

-- 
-Tucker Taft   stt@averstar.com   http://www.averstar.com/~stt/
Technical Director, Distributed IT Solutions  (www.averstar.com/tools)
AverStar (formerly Intermetrics, Inc.)   Burlington, MA  USA




  reply	other threads:[~1999-02-23  0:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-15  0:00 Library Level Question Steve Doiel
1999-02-15  0:00 ` David C. Hoos, Sr.
1999-02-15  0:00 ` Matthew Heaney
1999-02-15  0:00   ` Steve Doiel
1999-02-15  0:00     ` kirk
1999-02-16  0:00       ` Steve Doiel
1999-02-23  0:00         ` Tucker Taft [this message]
1999-03-01  0:00   ` Robert A Duff
1999-03-08  0:00     ` Matthew Heaney
replies disabled

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