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

⟦cc6d84dd0⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Enumeration, seg_049243

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 Identifier, Generic_String_Sort_Array;
package Enumeration is

    type Object is private;

    procedure Put_Name (Item : in out Object; Name : in Identifier.Object);
    procedure Put_Literal (Item : in out Object;
                           Literal : in Identifier.Object;
                           Ok : out Boolean);
    procedure Show (Item : in Object);
    function Name (Item : in Object) return String;
    function Literal_Image
                (Item : in Object; Literal_Index : in Natural) return String;
    function Literal (Item : in Object; Literal : in String) return Natural;
    function Belong (Item : in Object; Literal : in String) return Boolean;

    Null_Object : constant Object;

private
    package Literal_Array is new Generic_String_Sort_Array
                                    (Element => Identifier.Object,
                                     Max_Element_Number => 20,
                                     Null_Element => Identifier.Null_Object,
                                     Get_Key => Identifier.Image,
                                     Show_Element => Identifier.Show);

    type Object is
        record
            Name : Identifier.Object := Identifier.Null_Object;
            The_Array : Literal_Array.Object := Literal_Array.Null_Object;
        end record;

    Null_Object : constant Object := (Name => Identifier.Null_Object,
                                      The_Array => Literal_Array.Null_Object);

end Enumeration;

E3 Meta Data

    nblk1=4
    nid=2
    hdr6=4
        [0x00] rec0=18 rec1=00 rec2=01 rec3=078
        [0x01] rec0=0e rec1=00 rec2=03 rec3=000
        [0x02] rec0=01 rec1=00 rec2=02 rec3=000
        [0x03] rec0=04 rec1=22 rec2=e3 rec3=342
    tail 0x2174d34dc865aa8721d91 0x42a00088462060003
Free Block Chain:
  0x2: 0000  00 04 00 08 80 02 6e 3b 02 00 00 00 6e 20 42 65  ┆      n;    n Be┆
  0x4: 0000  00 00 00 04 80 01 69 01 2f a9 a1 a2 a7 20 a9 24  ┆      i /      $┆