comp.lang.ada
 help / color / mirror / Atom feed
From: Alfred Hilscher <Alfred.Hilscher@icn.siemens.de>
Subject: packet type ?
Date: 2000/01/14
Date: 2000-01-14T00:00:00+00:00	[thread overview]
Message-ID: <387F3DD1.485F7C70@icn.siemens.de> (raw)

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 ?




             reply	other threads:[~2000-01-14  0:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-14  0:00 Alfred Hilscher [this message]
2000-01-14  0:00 ` packet type ? Ted Dennison
2000-01-18  0:00   ` Alfred Hilscher
2000-01-18  0:00     ` Ted Dennison
2000-01-18  0:00     ` Brian Rogoff
2000-01-19  0:00     ` Anders Gidenstam
2000-01-19  0:00       ` Brian Rogoff
2000-01-20  0:00         ` Andy S
2000-01-20  0:00           ` Tucker Taft
2000-01-20  0:00           ` Brian Rogoff
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox