comp.lang.ada
 help / color / mirror / Atom feed
From: dgymer@mal9000.mal.com (Dave 'Gizmo' Gymer)
Subject: Order of elaboration
Date: 1996/04/03
Date: 1996-04-03T00:00:00+00:00	[thread overview]
Message-ID: <4jtggm$ipm@mal9000.mal.com> (raw)

Having waded through most of John Barnes' Ada95 book and made a lot of
progress with some CGI stuff, I can't quite decide whether the
following must always be true; it makes sense but I can't find
explicit confirmation in either Barnes' book or in RM95:

A child package must always be elaborated after it's parent(s).

So if the parent sets up an empty list and has some functions for
adding things to that list, the child can call those functions (sorry,
procedures; I'm still recovering from C++) without worrying about
whether the list has been initialized yet (and without using the
Elaborate pragma). Correct?
-- 
Dave "Gizmo" Gymer   dgymer@gdcarc.co.uk  http://www.mal.com/~dgymer/




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

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-03  0:00 Dave 'Gizmo' Gymer [this message]
1996-04-03  0:00 ` Order of elaboration Norman H. Cohen
replies disabled

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