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

⟦0c738d862⟧ TextFile

    Length: 714 (0x2ca)
    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

generic  
    Max : Positive := 100;
    type Element is private;

package Generic_Stack is
    subtype Stack_Range is Positive range 1 .. Max;
    type Object (Size : Stack_Range := 1) is private;

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

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