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

⟦04208d575⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Gestion_Act, seg_0468db

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



package body Gestion_Act is

    type Action_Sur_Ensembles is (Not_Yet_Declared, Quitter,
                                  Ecrire, Vider, Ajouter, Retirer);

    type Positions is (Left, Right, Center);


    type Node (What : Kinds := Unknown) is
        record
            case What is
                when Expr =>
                    Argument : Dynamic_Node.Object;
                when others =>
                    null;
            end case;
        end record;


    procedure Create_Action_Expression (Obj : in out Object;
                                        What_Argument : Dynamic_Node.Object) is
    begin  
        if (Obj = null) then
            Obj := new Node'(What => Expr, Argument => What_Argument);
        else
            raise Object_Already_Exists;
        end if;  
    end Create_Action_Expression;


    function Get_Kind (Obj : in Object) return Kinds is
    begin
        return (Obj.all.What);
    end Get_Kind;


    function Get_Value (Obj : in out Object) return [expression] is
    begin
        Evaluate (Obj.Argument);
        return Get_Value (Obj.Argument);
    end Get_Value;

end Gestion_Act;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=23 rec1=00 rec2=01 rec3=022
        [0x01] rec0=0a rec1=00 rec2=02 rec3=001
    tail 0x215433dbe86515d02ad3b 0x42a00088462060003