* Library Unit Elaboration
@ 1988-10-25 21:29 Fred Hosch
0 siblings, 0 replies; only message in thread
From: Fred Hosch @ 1988-10-25 21:29 UTC (permalink / raw)
I'm having trouble interpreting LRM 10.5. What should I expect
from the following (and why) when MAIN is executed?
package A is
X: INTEGER := 0;
end A;
with A;
procedure P is
begin
A.X := 1;
end P;
with A, P, INT_IO;
procedure MAIN is
begin
P;
INT_IO.PUT (A.X);
end MAIN;
10.1.2 leads me to believe that package A is elaborated twice;
my compiler says once; 10.5 is obscure.
---Fred Hosch
fred@cs.utexas.edu
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1988-10-25 21:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1988-10-25 21:29 Library Unit Elaboration Fred Hosch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox