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

⟦cdb20bca2⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Test_Group_Identifier_Array, seg_0475ed

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, Group_Identifier_Array, Identifier;
use Text_Io;
procedure Test_Group_Identifier_Array is

    Ok : Boolean;

begin
    Group_Identifier_Array.Show;  
    Put_Line ("vie : " & Natural'Image (Group_Identifier_Array.Index ("vie")));
    Put_Line ("is empty : " & Boolean'Image (Group_Identifier_Array.Is_Empty));
    Put_Line ("belong vie : " & Boolean'Image
                                   (Group_Identifier_Array.Belong ("vie")));
    Put_Line ("number_of : " & Natural'Image
                                  (Group_Identifier_Array.Number_Of));
    Put_Line ("image : " & Group_Identifier_Array.Image (2));

    Group_Identifier_Array.Put (Identifier.From_String ("vie"), Ok);
    Put_Line ("ok : " & Boolean'Image (Ok));
    Group_Identifier_Array.Put (Identifier.From_String ("joie"), Ok);
    Put_Line ("ok : " & Boolean'Image (Ok));
    Group_Identifier_Array.Put (Identifier.From_String ("heure"), Ok);
    Put_Line ("ok : " & Boolean'Image (Ok));
    Group_Identifier_Array.Put (Identifier.From_String ("vitesse"), Ok);
    Put_Line ("ok : " & Boolean'Image (Ok));
    Group_Identifier_Array.Put (Identifier.From_String ("heure"), Ok);
    Put_Line ("ok : " & Boolean'Image (Ok));

    Group_Identifier_Array.Show;

    Put_Line ("belong vie : " & Boolean'Image
                                   (Group_Identifier_Array.Belong ("vie")));
    Put_Line ("vie : " & Natural'Image (Group_Identifier_Array.Index ("vie")));
    Put_Line ("vitesse : " & Natural'Image
                                (Group_Identifier_Array.Index ("vitesse")));

    Put_Line ("is empty : " & Boolean'Image (Group_Identifier_Array.Is_Empty));
    Put_Line ("number_of : " & Natural'Image
                                  (Group_Identifier_Array.Number_Of));
    Put_Line ("image 1 : " & (Group_Identifier_Array.Image (1)));
    Put_Line ("image 8 : " & (Group_Identifier_Array.Image (8)));
    Put_Line ("image 4 : " & (Group_Identifier_Array.Image (4)));

end Test_Group_Identifier_Array;

E3 Meta Data

    nblk1=4
    nid=2
    hdr6=6
        [0x00] rec0=17 rec1=00 rec2=01 rec3=058
        [0x01] rec0=13 rec1=00 rec2=03 rec3=078
        [0x02] rec0=03 rec1=00 rec2=04 rec3=000
        [0x03] rec0=04 rec1=42 rec2=91 rec3=042
    tail 0x2174acfae86543719fea4 0x42a00088462060003
Free Block Chain:
  0x2: 0000  00 00 00 03 00 00 00 6e 64 20 54 65 73 74 5f 47  ┆       nd Test_G┆