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

⟦d2c34de7b⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Essai_List, seg_053ed7

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 List_Generic;
with String_Map_Generic;

package body Essai_List is

    procedure List is
        package My_List is new List_Generic (Element => Positive);
        A_List : My_List.List;
        My_Iter : My_List.Iterator;

        --package My_Hash_Table is
        --   new String_Map_Generic (Size => 100, Range_Type => My_List.List);

    begin

        A_List := My_List.Make (2, A_List);
        A_List := My_List.Make (3, A_List);
        A_List := My_List.Make (4, A_List);
        A_List := My_List.Rest (A_List);
        A_List := My_List.Make (5, A_List);
        A_List := My_List.Make (6, A_List);


        My_List.Init (My_Iter, A_List);
        while not (My_List.Done (My_Iter)) loop
            Text_Io.Put_Line (Positive'Image (My_List.Value (My_Iter)));
            My_List.Next (My_Iter);
        end loop;  
        Text_Io.Put_Line (Positive'Image (My_List.First (A_List)));


    end List;

end Essai_List;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=24 rec1=00 rec2=01 rec3=016
        [0x01] rec0=01 rec1=00 rec2=02 rec3=001
    tail 0x2154cb69a87b26057c715 0x42a00088462060003