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

⟦ac68355ac⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Search_Object_Rule_1, seg_04a3bc, separate Many_Objects_Rules_1

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;  
separate (Many_Objects_Rules_1)
package body Search_Object_Rule_1 is

    function Premiss return Fact_Queries is
        The_State : Alias.Name := Alias.S;
    begin
        return (States.Exist
                   ((Value          => Is_Greater (0) and  
                                          Define_As (The_State),
                     Max_Iterations => Is_Greater_Or_Equal (The_State),
                     Max_Objects    => Is_Any)),
                Numbers.Exist ((Value => Define_As (Alias.V))),
                Many_Objects_Frames_1.Objects.Exist
                   ((X => Is_Equal (Alias.V), Y => Is_Any)));
    end Premiss;


    procedure Action (The_Facts : Fact_Collection) is
        The_Number : Fact_Name renames The_Facts (2);
        The_Object : Fact_Name renames The_Facts (3);
    begin
        -- Text_Io.Put_Line ("Found object: " & Objects.Image (The_Object));
        Numbers.Change (The_Number, Value, Numbers.Get (The_Number, Value) - 1);
    end Action;
end Search_Object_Rule_1;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=19 rec1=00 rec2=01 rec3=080
        [0x01] rec0=03 rec1=00 rec2=02 rec3=001
    tail 0x2174eae06866f3d69c845 0x42a00088462063c03