comp.lang.ada
 help / color / mirror / Atom feed
* Library Level Question
@ 1999-02-15  0:00 Steve Doiel
  1999-02-15  0:00 ` David C. Hoos, Sr.
  1999-02-15  0:00 ` Matthew Heaney
  0 siblings, 2 replies; 9+ messages in thread
From: Steve Doiel @ 1999-02-15  0:00 UTC (permalink / raw)


What exactly is meant by Library Level

Section 13.10.2 of the LRM gives the following description:

  (22)
  The accessibility level of all library units is called the library level;
a library-level declaration or entity is one whose accessibility level is
the library level.

Does this mean unit specifications? Implementations? Either?
I'm obviously not a language lawyer, but am often able to figure things out
from the LRM.  this has been an exception.

My observation has been that when I try to take the address ('access) of a
function or procedure that is defined within my main procedure, I get a
message about the wrong library level.  But if I take the address of a
function or procedure defined inside a package spec or body, the compiler is
happy.

Please respond in layman terms (if possible).

SteveD






^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~1999-03-08  0:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
1999-03-01  0:00   ` Robert A Duff
1999-03-08  0:00     ` Matthew Heaney

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