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

⟦110eb4ded⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Affectation, seg_046695

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 Expression, Attribute, Detail;
package Affectation is

    type Affectation_Kind is (Single_Attribute, Hero, Place, Unknown);

    type Object (Kind : Affectation_Kind := Unknown) is private;

    procedure Create_Attribute (Item : out Object;
                                An_Attribute : in Attribute.Object;
                                An_Expression : in Expression.Object;
                                Ok : out Boolean);
    procedure Create_Hero (Item : out Object; A_Hero : in Detail.Object);
    procedure Create_Place (Item : out Object; A_Place : in Detail.Object);
    procedure Run (Item : in Object);
    procedure Show (Item : in Object);

    Null_Object : constant Object;

private

    type Object (Kind : Affectation_Kind := Unknown) is
        record
            case Kind is
                when Single_Attribute =>
                    An_Attribute : Attribute.Object := Attribute.Null_Object;  
                    New_Value : Expression.Object := Expression.Null_Object;
                when Hero =>
                    New_Hero : Detail.Object;
                when Place =>
                    New_Place : Detail.Object;
                when Unknown =>
                    null;
            end case;
        end record;

    Null_Object : constant Object := (Kind => Unknown);

end Affectation;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1b rec1=00 rec2=01 rec3=048
        [0x01] rec0=0d rec1=00 rec2=02 rec3=001
    tail 0x2174900b88651352e0f00 0x42a00088462060003