From: Robert A Duff <bobduff@world.std.com>
Subject: Re: "with"ing package Standard
Date: 2000/05/17
Date: 2000-05-17T00:00:00+00:00 [thread overview]
Message-ID: <wcchfbx1fi4.fsf@world.std.com> (raw)
In-Reply-To: q_lU4.13918$wb7.1292608@news.flash.net
"Ken Garlington" <Ken.Garlington@computer.org> writes:
> Should I be able to "with" package Standard and/or its children, e.g.
No. You should not, and in fact are not. ;-)
> with Ada.Text_IO, Standard.ASCII;
That would be legal only if there were a root library unit (ie child of
the predefined Standard) called Standard, and it had a child unit called
Ascii, which is highly unlikely.
You can't say "with ASCII;", either, because ASCII is not a library unit
-- it's a package nested within a library unit.
This stuff is described somewhere in chap 10 -- "Environment-level
Visibility" or something like that. The predefined library unit
Standard is not visible in a with_clause.
- Bob
next prev parent reply other threads:[~2000-05-17 0:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-17 0:00 "with"ing package Standard Ken Garlington
2000-05-17 0:00 ` Robert Dewar
2000-05-17 0:00 ` Robert A Duff [this message]
2000-05-17 0:00 ` Steve Folly
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox