comp.lang.ada
 help / color / mirror / Atom feed
* Order of elaboration
@ 1996-04-03  0:00 Dave 'Gizmo' Gymer
  1996-04-03  0:00 ` Norman H. Cohen
  0 siblings, 1 reply; 2+ messages in thread
From: Dave 'Gizmo' Gymer @ 1996-04-03  0:00 UTC (permalink / 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/




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-04-03  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-04-03  0:00 Order of elaboration Dave 'Gizmo' Gymer
1996-04-03  0:00 ` Norman H. Cohen

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