|
|
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: 666 (0x29a)
Types: TextFile
Names: »V«
└─⟦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⟧
package Stack_Lifo is
type Object (Stack_Size : Natural := 100) is private;
procedure Push (File : in out Object; The_Element : Integer);
procedure Pop (File : in out Object; The_Element : out Integer);
function The_Top (File : Object) return Integer;
function Is_Empty (File : Object) return Boolean;
function Is_Full (File : Object) return Boolean;
Empty, Full : exception;
private
type Contents is array (Natural range <>) of Integer;
type Object (Stack_Size : Natural := 100) is
record
The_Head : Natural := 1;
The_Contents : Contents (1 .. Stack_Size);
end record;
end Stack_Lifo;