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

⟦0bf04f878⟧ TextFile

    Length: 1594 (0x63a)
    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 Message is

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


    type Tb_Msg is array (Num_Message range <>) of Boolean;

    type Tableau_Msg (Taille : Indice_Table := 100) is
        record
            Msg : Tb_Msg (256 .. 256 + Taille) := (others => False);
        end record;


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

    Table_Message : Tableau_Msg;


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

    function Table_Message_Pleine return Boolean is
        Resultat : Boolean := True;
    begin
        for I in Table_Message.Msg'Range loop
            Resultat := Resultat and Table_Message.Msg (I);
        end loop;
        return Resultat;
    end Table_Message_Pleine;

    function Premier_Libre return Num_Message is
        I      : Indice_Table := Table_Message.Msg'First;
        Trouve : Boolean      := False;
    begin
        [statement]

    end Premier_Libre;
    --------------------------------------------------------
    -- INTERFACE
    --------------------------------------------------------

    procedure Prendre (Numero : out Num_Message) is
        Ajout : Tb_Msg (0 .. 100) := (others => False);
    begin
        if Table_Messages_Pleine then
            Table_Message := Table_Message & Ajout;
        end if;
        Numero := Premier_Libre;
    end Prendre;


    procedure Liberer (Numero : Num_Message) is
    begin
        Table_Message.Msg (Numero) := False;
    end Liberer;


    procedure Envoyer (Numero : Num_Message) is
    begin
        [statement]
    end Envoyer;

end Message;