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

⟦d1e8115f1⟧ Ada Source

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

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, Lexical;

use Text_Io, Lexical;

procedure Mainlex is

    F : Text_Io.File_Type;

    Nomf : constant String := "EXJEU";
    Finlex : Boolean;  
    T : Token;

begin
    Text_Io.Open (File => F, Mode => In_File, Name => Nomf);
    Lexical.Init (F);
    while (Finlex /= True) loop

        Finlex := Lexical.At_End (F);
        Lexical.Next (F);
        T := Lexical.Get_Token;
        Text_Io.Put ("Chaine:");
        Text_Io.Put (Lexical.Get_Value);
        Text_Io.Put ("  Token: ");
        Text_Io.Put (Token'Image (Lexical.Get_Token));
        if (T = Unk) then  
            Text_Io.Put ("  Ligne : ");
            Text_Io.Put (Natural'Image (Lexical.Get_Line));
            Text_Io.Put (" --  Col : ");
            Text_Io.Put (Natural'Image (Lexical.Get_Column));
        end if;
        Text_Io.New_Line;
    end loop;
    Text_Io.Close (F);
end Mainlex;

E3 Meta Data

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