From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cf7a58e8e674126b X-Google-Attributes: gid103376,public From: Robert A Duff Subject: Re: "with"ing package Standard Date: 2000/05/17 Message-ID: #1/1 X-Deja-AN: 624525309 Sender: bobduff@world.std.com (Robert A Duff) References: Organization: The World Public Access UNIX, Brookline, MA Newsgroups: comp.lang.ada Date: 2000-05-17T00:00:00+00:00 List-Id: "Ken Garlington" 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