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=-1.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7903a7ed8de6a521 X-Google-Attributes: gid103376,public From: johnherro@aol.com (John Herro) Subject: Re: Ada 95 Compatibility Date: 1996/02/24 Message-ID: <4gmdfs$mdd@newsbf02.news.aol.com>#1/1 X-Deja-AN: 140879789 sender: root@newsbf02.news.aol.com references: <312DA0EB.4422@lfwc.lockheed.com> organization: America Online, Inc. (1-800-827-6364) newsgroups: comp.lang.ada Date: 1996-02-24T00:00:00+00:00 List-Id: I wrote: >> In Ada 95, a package spec. that doesn't *need* >> a corresponding body can't *have* one. Ken Garlington 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