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

⟦e17597599⟧ TextFile

    Length: 803 (0x323)
    Types: TextFile
    Names: »B«

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

with Text_Io;
with Hash_Code;

procedure Read_String is


    function Get_String return String is
        C : Character;
    begin

        if Text_Io.End_Of_Line then
            return "";
        else  
            Text_Io.Get (C);
            return (C & Get_String);
        end if;
    end Get_String;


begin
    loop
        declare
            Chaine : constant String := Get_String;
            The_Key : constant Hash_Code.Object :=
               Hash_Code.Get_Hash_Key (Chaine);
        begin
            if Chaine'Length /= 0 then
                Text_Io.Put_Line (Chaine);
                Text_Io.Put_Line (Integer'Image
                                     (Hash_Code.Hash_Key_To_Integer (The_Key)));
                exit;
            end if;
        end;
    end loop;
end Read_String;