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,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ea81945e8b96701b,start X-Google-Attributes: gid103376,public From: Alfred Hilscher Subject: packet type ? Date: 2000/01/14 Message-ID: <387F3DD1.485F7C70@icn.siemens.de>#1/1 X-Deja-AN: 572588233 Content-Transfer-Encoding: 7bit Organization: Siemens AG X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-01-14T00:00:00+00:00 List-Id: Hi all, I am not so familiar with the OO-extensions of Ada95 so maybe my question is obsolete. What I'm looking for is something like a "packege type" (similar to "task type"). What I want do is something like this: package type stack is push (item : in ...); pop (item : out ...) end stack procedure application is User_stack : stack; Supervisor_stack : stack; Interrupt_stack : stack; begin ... end application; Any suggestions how to do this ?