From: hawtinml@aston.ac.uk (Marcel Hawtin)
Subject: separate embedded procedures?
Date: Tue, 7 Mar 1995 14:45:53 GMT
Date: 1995-03-07T14:45:53+00:00 [thread overview]
Message-ID: <D52roI.552@aston.ac.uk> (raw)
Please help me out with this, the Ada books I've read say that you can declare
a procedure from a package body as separate and write its body in another file.
Neat idea! So, can I have a procedure body in a package body that has a couple
of its own nested procedures and declare these procedures separte(ly)?
I've tried, but my complier complains about it.
To try to make things clearer :
PACKAGE BODY Blah IS
PROCEDURE Kludged_Mess IS
PROCEDURE Small_Task IS SEPARATE;
BEGIN
<do some stuff using Small_Task>
END Kludged_Mess;
END Blah;
In another file, the body of Small_Task :
SEPARATE(Blah)
PROCEDURE Small_Task IS
<whatever>
END Small_Task;
Any help greatly appreciated,
Thanks in advance,
Marcel
replies to : hawtinml@aston.ac.uk
next reply other threads:[~1995-03-07 14:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-03-07 14:45 Marcel Hawtin [this message]
1995-03-08 16:32 ` separate embedded procedures? Tucker Taft
1995-03-10 19:50 ` Jerome D. Rosen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox