comp.lang.ada
 help / color / mirror / Atom feed
From: asp@SEI.CMU.EDU
Subject: Re: Seq_Io example and "use"
Date: 16 Feb 88 16:08:02 GMT	[thread overview]
Message-ID: <1988.2.16.15.51.17.Alfred.Peterson@sei.cmu.edu> (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

                 reply	other threads:[~1988-02-16 16:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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