DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

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

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦83d55ab4d⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Nos_Piles, seg_04807d, seg_048c4a, seg_048cb9, seg_048df5

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



package body Nos_Piles is

    ---------------------------------------------------------------
    --|
    --| Empile un element.
    --|
    --| Parametres d'entree :
    --|   P : nom de la liste sur laquelle porte l'ajout.
    --|       (type objet)
    --|   Item : element a empiler
    --|          (type element)
    --|
    ---------------------------------------------------------------
    procedure Add (P : in out Objet; Item : Element) is
    begin
        Pile.Push (Item, P);
    end Add;

    ---------------------------------------------------------------
    --|
    --| Depile un element de la liste (s'il ne s'y trouve pas la
    --| fonction renvoie l'element nul)
    --|
    --| Parametres d'entree :
    --|   P : pile sur laquelle porte la modification
    --|       (type objet)
    --| Parametres de sortie :
    --|   Item : element depile
    --|          (type element)
    --|
    ---------------------------------------------------------------
    procedure Delete (P : in out Objet; Item : out Element) is
    begin
        if not Pile.Empty (P) then
            Item := Pile.Top (P);
            Pile.Pop (P);
        else
            Item := Null_Objet;
        end if;
    end Delete;

end Nos_Piles;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=20 rec1=00 rec2=01 rec3=05c
        [0x01] rec0=0c rec1=00 rec2=02 rec3=001
    tail 0x215452602865800d3eeab 0x42a00088462060003