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: ┃ B T

⟦db630086f⟧ TextFile

    Length: 1511 (0x5e7)
    Types: TextFile
    Names: »B«

Derivation

└─⟦149519bd4⟧ Bits:30000546 8mm tape, Rational 1000, !projects 93-07-13
    └─ ⟦124ff5788⟧ »DATA« 
        └─⟦this⟧ 
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 
└─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16
    └─ ⟦6f12a12be⟧ »DATA« 
        └─⟦this⟧ 
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
    └─ ⟦d65440be7⟧ »DATA« 
        └─⟦this⟧ 

TextFile

package body Point_D_Arret is



    -- TYPES ----------------------------------------------------------------

    type T_Element is
        record
            Actif : Boolean := False;
            Position : Adresse.T_Adresse;
        end record;

    type T_Tab_Element is array (T_Taille_Liste) of T_Element;

    -- VARIABLES ------------------------------------------------------------

    Tab_Point_D_Arret : T_Tab_Element :=
       (others => (Actif => False, Position => 0));

    -- PROCEDURES -----------------------------------------------------------


    procedure Creer is
    begin
        for I in T_Taille_Liste loop
            Tab_Point_D_Arret (I).Actif := False;
            Tab_Point_D_Arret (I).Position := 0;
        end loop;
    end Creer;

    ----------------------------------------------

    procedure Mise_A_Jour_Liste
                 (Une_Adresse : Adresse.T_Adresse; Numero : T_Taille_Liste) is
    begin
        Tab_Point_D_Arret (Numero).Actif := True;
        Tab_Point_D_Arret (Numero).Position := Une_Adresse;
    end Mise_A_Jour_Liste;


    ----------------------------------------------

    function Present (Une_Adresse : Adresse.T_Adresse) return Boolean is

    begin  
        for I in T_Taille_Liste loop
            if ((Tab_Point_D_Arret (I).Actif) and then
                (Tab_Point_D_Arret (I).Position = Une_Adresse)) then
                return True;
            end if;
        end loop;

        return False;

    end Present;




end Point_D_Arret;