From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,754871b84ac2a9be,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-03-07 07:04:21 PST Newsgroups: comp.lang.ada Path: bga.com!news.sprintlink.net!pipex!warwick!sunserver1.aston.ac.uk!usenet From: hawtinml@aston.ac.uk (Marcel Hawtin) Subject: separate embedded procedures? X-Nntp-Posting-Host: germany.aston.ac.uk Message-ID: Sender: usenet@aston.ac.uk Reply-To: hawtinml@aston.ac.uk Organization: Aston University Date: Tue, 7 Mar 1995 14:45:53 GMT Date: 1995-03-07T14:45:53+00:00 List-Id: 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 END Kludged_Mess; END Blah; In another file, the body of Small_Task : SEPARATE(Blah) PROCEDURE Small_Task IS END Small_Task; Any help greatly appreciated, Thanks in advance, Marcel replies to : hawtinml@aston.ac.uk