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

⟦9fd094c3d⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Test_Int, seg_04467a

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, Int_Lib, String_Table, Token_Pkg;

procedure Test_Int is
    Verb : Int_Lib.I_Table (1 .. 4);
    Object : Int_Lib.I_Table (1 .. 4);
    Direction : Int_Lib.I_Table (1 .. 4);
    Tab : Int_Lib.I_Result;  
    Index : Natural := 1;

begin
    String_Table.Put (Verb, 1, "MANGER");
    String_Table.Put (Verb, 1, "BOUFFER");
    String_Table.Put (Verb, 2, "PRENDRE");
    String_Table.Put (Verb, 3, "UTILISER");
    String_Table.Put (Verb, 4, "REGARDER");
    String_Table.Put (Verb, 4, "EXAMINER");

    String_Table.Put (Object, 1, "POMME");
    String_Table.Put (Object, 2, "CLE_EN_OR");
    String_Table.Put (Object, 3, "PORTE");
    String_Table.Put (Object, 4, "LAMPE");

    String_Table.Put (Direction, 1, "NORD");
    String_Table.Put (Direction, 1, "N");
    String_Table.Put (Direction, 2, "SUD");
    String_Table.Put (Direction, 2, "S");
    String_Table.Put (Direction, 3, "EST");
    String_Table.Put (Direction, 3, "E");
    String_Table.Put (Direction, 4, "OUEST");
    String_Table.Put (Direction, 4, "O");

    for I in 1 .. 10 loop
        Int_Lib.Interpretor (Verb, Object, Direction, Tab);
        Index := 1;
        while Token_Pkg.Token'Image (Tab (Index).Token) /= "T_END" loop
            Text_Io.Put (Token_Pkg.Token'Image (Tab (Index).Token));
            Text_Io.Put (" - index : ");
            Text_Io.Put (Natural'Image (Tab (Index).Index));
            Text_Io.New_Line;
            Index := Index + 1;
        end loop;
    end loop;
end Test_Int;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1e rec1=00 rec2=01 rec3=012
        [0x01] rec0=10 rec1=00 rec2=02 rec3=001
    tail 0x215403926863e79b1e903 0x42a00088462060003