comp.lang.ada
 help / color / mirror / Atom feed
* Re: Seq_Io example and "use"
@ 1988-02-16 16:08 asp
  0 siblings, 0 replies; only message in thread
From: asp @ 1988-02-16 16:08 UTC (permalink / raw)


Geoff Mendal is correct in stating that the use in BOTH places is valid. I
DID know that, although my emphasis on the DON'T in the comment is somewhat
misleading. What I MEANT to convey to the readers is the fact that the "use"
statement does NOT necesarily need to be in the context clause area with the
"with" statement(s). Sorry if any readers were puzzled or in any other way
potentially misinformed in this area.

Fact: The 'use' statement is valid in ANY declarative region and its effect
ranges throughout the scope of that region, assuming, of course, the named
library unit has been 'with'ed in the current compilation unit's context 
clause. (See ARM 8.4[3])

Spencer Peterson

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1988-02-16 16:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1988-02-16 16:08 Seq_Io example and "use" asp

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