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,d54fc5b7ea8ef162 X-Google-Attributes: gid103376,public From: Robert A Duff Subject: Re: is everything child of Standard Package in Ada? Date: 1999/03/05 Message-ID: #1/1 X-Deja-AN: 451587774 Sender: bobduff@world.std.com (Robert A Duff) References: <7bgu62$l31@drn.newsguy.com> <7bh1po$1ibb@news3.newsguy.com> Organization: The World Public Access UNIX, Brookline, MA Newsgroups: comp.lang.ada Date: 1999-03-05T00:00:00+00:00 List-Id: Samuel Mize writes: > However, it is a special case. You don't need to say, for instance, > "Standard.Ada.Text_Io" and indeed you can't (at least on the compiler > I'm using at the moment). This is true only in with_clauses; you must say "with Ada.Text_IO;" and not "with Standard.Ada.Text_IO;". In normal code, you can say things like: Standard.Ada.Text_IO.Put_Line("Hello"); If you declare a library package called Standard, like this: package Standard is end Standard; you will get a child of *the* Standard also called Standard; that is, Standard.Standard. That would be a pretty silly thing to do, but it's legal. - Bob -- Change robert to bob to get my real email address. Sorry.