DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

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

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦5a4d8c64d⟧ Ada Source

    Length: 2048 (0x800)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Test_Lex, seg_036d71

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 

E3 Source Code



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;

E3 Meta Data

    nblk1=1
    nid=0
    hdr6=2
        [0x00] rec0=22 rec1=00 rec2=01 rec3=000
    tail 0x2153055de84e08ae4c33c 0x42a00088462060003