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

⟦479095e03⟧ Ada Source

    Length: 2048 (0x800)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Congratulations_Rule, seg_03c333, seg_03c4e5, seg_03c68c, seg_03c9c1, seg_04a994, seg_04b402, separate Mb_Rules_For_Termination

Derivation

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

E3 Source Code



separate (Mb_Rules_For_Termination)
package body Congratulations_Rule is
    function Premiss return Fact_Queries is
    begin
        return ((Testcase.Exist ((Goal_Type | Name => Is_Any)),

                 Goal.Exist ((Status => Is_Equal (Satisfied),
                              Goal_Type | Object_Name | To => Is_Any)),

                 Goal.Absent ((Status => Is_Equal (Active),
                               Goal_Type | Object_Name | To => Is_Any))));
    end Premiss;


    procedure Action (Objects : Fact_Collection) is  
        The_Testcase : Fact_Name renames Objects (1);
    begin
        New_Line (Standard_Output);
        Put_Line ("Congratulations ! The goals are satisfied", Standard_Output);
        Testcase.Delete (The_Testcase);
        Rule_Base.Halt;
    end Action;
end Congratulations_Rule;

E3 Meta Data

    nblk1=1
    nid=0
    hdr6=2
        [0x00] rec0=19 rec1=00 rec2=01 rec3=000
    tail 0x2173a6ba88582516857a3 0x42a00088462063c03