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

⟦79a0bf519⟧ Ada Source

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

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



with Text_Io, Values, String_Table, Bounded_String, Boxes;
use Boxes;

procedure Test_Boxes is

    B1, B2 : Box;
    L : My_List;
    S1, S2, S3 : My_String;

begin

    Bounded_String.Copy (S1, "111");
    Bounded_String.Copy (S2, "222");
    Bounded_String.Copy (S3, "333");
    String_Table.Int_List.Attach (S1, L);
    String_Table.Int_List.Attach (S2, L);
    String_Table.Int_List.Attach (S3, L);

    Image (B1);
    Image (B2);

    B1.The_Type := Bool;

    Bounded_String.Copy (B1.Id, "chaine de");

    Image (L);

    Values.Set_To (B1.Val, "CA marche");

    B1.Acc := L;

    Image (B1);
    Boxes.Copy (B2, B1);
    if Equal (B1, B2) then
        Text_Io.Put_Line ("Ok !!");
    end if;
    Image (B2);

end Test_Boxes;

E3 Meta Data

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