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

⟦756d9be28⟧ TextFile

    Length: 623 (0x26f)
    Types: TextFile
    Names: »V«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 

TextFile

generic
    Size : in Positive := 10;
    type Element is private;

package Gen_Stack is
    type Object is limited private;

    procedure Push (On : in out Object; The_Object : in Element);
    procedure Pop (From : in out Object);
    function Get_Top (From : in Object) return Element;
    function Is_Full (The_Stack : in Object) return Boolean;
    function Is_Empty (The_Stack : in Object) return Boolean;

private
    type Content is array (1 .. Size) of Element;
    type Object is
        record
            The_Top : Integer := 0;    -- Vide
            The_Content : Content;
        end record;
end Gen_Stack;