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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,606498afc3f88127,start X-Google-Attributes: gid103376,public From: Scott Edgerton {81813} Subject: Re: Generic procedures. Date: 1997/11/14 Message-ID: #1/1 X-Deja-AN: 289546127 Sender: Ada programming language Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU X-Authentication-Warning: swlpnm.msd.ray.com: sge owned process doing -bs Reply-To: Scott Edgerton {81813} Newsgroups: comp.lang.ada Date: 1997-11-14T00:00:00+00:00 List-Id: Tobias Ritzau wrote: > I wonder if it is possible to have a generic procedure in a > package and do some instations in the same spec. Generics typically are written to support code reuse. With that, I would suggest that you make the generic into a separate unit (outside of your package) This way, you can "With" the generic, and instantiate to your liking. Scott Std Disclaimer: I speak for myself, not my employer. _________________________________________________________________ Scott G. Edgerton Command and Control Systems Dept Raytheon, Hagar pond Marlborough, MA