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

⟦b85a18517⟧ Ada Source

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

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, Our_List, Our_String;
use Our_List;

procedure Test1 is

    L : List;
    L1 : List;
    I : Iter;
    I1 : Iter;
    Obj : Object;
    Tmp : Our_String.Variable_String;

begin
    L := Create;
    Obj := Affect ("nom1", "type1");
    Attach (L, Obj);
    Obj := Affect ("nom2", "type2");
    Attach (L, Obj);
    Obj := Affect ("nom3", "type3");
    Attach (L, Obj);


    I := Iteronobject (L, Our_String.Value ("nom2"));


    I.Info.Pointer := Create;
    Obj := Affect ("nom4", "type4");
    Attach (I.Info.Pointer, Obj);
    Obj := Affect ("nom5", "type5");
    Attach (I.Info.Pointer, Obj);
    Our_String.Copy (I.Info.The_Type, "enum");
    I := Makelistiter (L);
    Printall (I);

    L1 := Copy (L);
    I := Makelistiter (L1);
    I1 := Iteronobject (L1, Our_String.Value ("nom2"));
    Destroy (I1.Info.Pointer);
    Printall (I);


end Test1;

E3 Meta Data

    nblk1=2
    nid=2
    hdr6=2
        [0x00] rec0=2c rec1=00 rec2=01 rec3=000
        [0x01] rec0=04 rec1=00 rec2=02 rec3=001
    tail 0x2174838b8864d6217186d 0x42a00088462060003
Free Block Chain:
  0x2: 0000  00 00 00 1f 80 0c 2d 50 72 69 6e 74 20 28 49 31  ┆      -Print (I1┆