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

⟦71654c9b4⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, function Create, seg_03b24a, separate Tomato

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 Fruit;  
with Vegetable;

separate (Tomato)
function Create (Offspring : Natural := 0) return Object is

    This_Object : Object := new State;
    Parent_1 : Vegetable.Object;
    Parent_2 : Fruit.Object;

begin
    This_Object.Offspring := Offspring;

    Log_Report.Trace ("Creation of vegetable inheritance tree");
    Parent_1 := Vegetable.Create (1);
    Set_Origin (This_Object, Vegetable.Get_Origin (Parent_1));
    Vegetable.Set_Heir (Parent_1, Root_View_Of (This_Object));

    Log_Report.Trace ("Creation of fruit inheritance tree");
    Parent_2 := Fruit.Create (1);  
    Fruit.Set_Heir (Parent_2, Root_View_Of (This_Object));  
    Vegetable.Set_Multiple (Parent_1, Fruit.Get_Origin ((Parent_2)));

    Log_Report.Trace ("A tomato is born with offspring " &
                      Natural'Image (This_Object.Offspring));
    return This_Object;
end Create;


E3 Meta Data

    nblk1=2
    nid=2
    hdr6=2
        [0x00] rec0=1f rec1=00 rec2=01 rec3=000
        [0x01] rec0=03 rec1=00 rec2=02 rec3=001
    tail 0x21533c342851577a45400 0x42a00088462060003
Free Block Chain:
  0x2: 0000  00 00 00 0e 80 02 65 3b 02 00 00 00 00 00 00 00  ┆      e;        ┆