comp.lang.ada
 help / color / mirror / Atom feed
From: stt@houdini.camb.inmet.com (Tucker Taft)
Subject: Re: is everything child of Standard Package in Ada?
Date: 1999/03/03
Date: 1999-03-03T00:00:00+00:00	[thread overview]
Message-ID: <F803tG.86M.0.-s@inmet.camb.inmet.com> (raw)
In-Reply-To: 7bhntd$ja7$1@nnrp1.dejanews.com

robert_dewar@my-dejanews.com wrote:
: In article <7bgu62$l31@drn.newsguy.com>,
:   nabbasi@pacbell.net wrote:
: > hi,
: >
: > is it implicit that every package in Ada is a 'child' of
: > Standard package?

: No, the relationship is not that of a child package.

I suspect the questioner may have meant is every Ada package
a child of package Standard, in which case, the answer is:
"every 'root' Ada libary package is a child of package Standard."

Robert probably interpreted this question as "is every child of 
the package Ada also a child of package Standard?" and the
answer to that is: "no -- the children of package Ada are
grandchildren of package Standard."

To elaborate a bit...

Every library unit is a descendant of package Standard, and
is logically inside its declarative region.  The "root" library
units (like Ada itself, System, and Interfaces, plus those root units that
users choose to define themselves) are direct children of package Standard.
The direct children of these root packages in turn are effectively 
grandchildren of package Standard.

--
-Tucker Taft   stt@averstar.com   http://www.averstar.com/~stt/
Technical Director, Distributed IT Solutions  (www.averstar.com/tools)
AverStar (formerly Intermetrics, Inc.)   Burlington, MA  USA




      reply	other threads:[~1999-03-03  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-02  0:00 is everything child of Standard Package in Ada? nabbasi
1999-03-02  0:00 ` Samuel Mize
1999-03-03  0:00   ` Samuel Mize
1999-03-05  0:00   ` Robert A Duff
1999-03-02  0:00 ` robert_dewar
1999-03-03  0:00   ` Tucker Taft [this message]
replies disabled

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