comp.lang.ada
 help / color / mirror / Atom feed
From: "Steve Doiel" <nospam_steved@pacifier.com>
Subject: Library Level Question
Date: 1999/02/15
Date: 1999-02-15T00:00:00+00:00	[thread overview]
Message-ID: <36c853cb.0@news.pacifier.com> (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






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

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-15  0:00 Steve Doiel [this message]
1999-02-15  0:00 ` Library Level Question 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
replies disabled

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