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

⟦ce39734d0⟧ TextFile

    Length: 470 (0x1d6)
    Types: TextFile
    Names: »B«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 

TextFile

with Lex;
with Text_Io;
with Bounded_String;
procedure Test_Lex is
    Local : Lex.Token := Lex.Token'(Lex.Ok);
begin



    Lex.Open ("My_F");

    while Lex.Token'Pos (Local) /= Lex.Token'Pos (Lex.L_End) loop

        Lex.Next_Token;
        Local := Lex.Get_Token;
        Text_Io.Put (Bounded_String.Image ((Lex.Get_Value)));
        Text_Io.Put (" --> ");
        Text_Io.Put_Line (Lex.Token'Image (Local));

    end loop;
    Lex.Close ("My_File");


end Test_Lex;