DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T V

⟦61a928f4a⟧ TextFile

    Length: 666 (0x29a)
    Types: TextFile
    Names: »V«

Derivation

└─⟦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⟧ 

TextFile

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;