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

⟦6babf9f3f⟧ TextFile

    Length: 807 (0x327)
    Types: TextFile
    Names: »B«

Derivation

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

TextFile

with Text_Io;
with Lex;
with Error;
procedure Test_Lex is
    The_Token : Lex.Token;
begin  
    Error.Initialize;
    Text_Io.Put_Line (Boolean'Image (Error.Exist));
    Error.Append (23);
    Error.Append (24);
    if Error.Exist then
        Text_Io.Put_Line ("il y a des erreurs");
        Error.Display_In_Source;
    else
        Text_Io.Put_Line ("il n'y a pas d'erreur");
    end if;
    Lex.Open ("titi");
    Lex.Next;  
    while not Lex.At_End loop
        case Lex.Get is
            when Lex.Int | Lex.Based | Lex.Hour =>
                Text_Io.Put_Line (Natural'Image (Lex.Value));
            when others =>
                null;
        end case;  
        Error.Panic (1);
        Text_Io.Put_Line (Lex.Token'Image (Lex.Get));

        Lex.Next;
    end loop;
    Lex.Close;
end Test_Lex;