From: johnherro@aol.com (John Herro)
Subject: Re: Ada 95 Compatibility
Date: 1996/02/24
Date: 1996-02-24T00:00:00+00:00 [thread overview]
Message-ID: <4gmdfs$mdd@newsbf02.news.aol.com> (raw)
In-Reply-To: 312DA0EB.4422@lfwc.lockheed.com
I wrote:
>> In Ada 95, a package spec. that doesn't *need*
>> a corresponding body can't *have* one.
Ken Garlington <GarlingtonKE@lfwc.lockheed.com> replied:
> See RM95-7.2:4.
Thanks to everyone who replied to my initial question. Ken's RM
reference provides the best and simplest solution, to add pragma
Elaborate_Body as follows:
package P is
pragma Elaborate_Body;
Buffer : array(1 .. 50) of Integer;
end P;
package body P is
begin
-- code to initialize Buffer
end P;
- John Herro
Software Innovations Technology
http://members.aol.com/AdaTutor
ftp://members.aol.com/AdaTutor
next prev parent reply other threads:[~1996-02-24 0:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-02-22 0:00 Ada 95 Compatibility John Herro
1996-02-22 0:00 ` Mark A Biggar
1996-02-23 0:00 ` PHILIP W. BRASHEAR
1996-02-23 0:00 ` Keith Thompson
1996-02-23 0:00 ` Peter Amey
1996-02-23 0:00 ` Ken Garlington
1996-02-24 0:00 ` John Herro [this message]
1996-02-24 0:00 ` Robert Dewar
1996-02-26 0:00 ` Ken Garlington
1996-02-26 0:00 ` Robert Dewar
1996-02-26 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox