|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T V
Length: 674 (0x2a2)
Types: TextFile
Names: »V«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
generic
type Element is private;
package Stack_Gen is
type Object is limited private;
procedure Push (On : in out Stack_Gen.Object; The_Element : in Element);
procedure Pop (From : in out Stack_Gen.Object; The_Element : out Element);
function Top (From : Stack_Gen.Object) return Element;
function Depth (From : Stack_Gen.Object) return Natural;
Empty_Stack : exception;
Full_Stack : exception;
private
Max : constant := 100;
type Elements is array (Natural range 0 .. Max) of Element;
type Object is
record
Top : Natural range 0 .. Max := 0;
Content : Elements;
end record;
end Stack_Gen;