|
|
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: S T
Length: 601 (0x259)
Types: TextFile
Names: »STACK_ADS«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
└─⟦d65440be7⟧ »DATA«
└─⟦this⟧
generic
Max : Positive := 1000;
type Element is private;
package Stack_Generic is
subtype Stack_Range is Positive range 1 .. Max;
type Object (Size : Stack_Range := 1) is limited private;
procedure Push (A_Stack : in out Object; An_Element : in Element);
procedure Pop (A_Stack : in out Object; An_Element : out Element);
private
type Content is array (Stack_Range range <>) of Element;
type Object (Size : Stack_Range := 1) is
record
The_Top : Stack_Range := 1;
The_Content : Content (1 .. Size);
end record;
end Stack_Generic;