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

⟦1d7af5bee⟧ Ada Source

    Length: 4096 (0x1000)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Find_Request_Rule, seg_04be48, separate Fruit_Display_Rule_Bundle_4

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



separate (Fruit_Display_Rule_Bundle_4)


package body Find_Request_Rule is


    function Premiss return Fact_Queries is
        use Fruit_Frames_4;
    begin
        return (Requests.Absent ((Request_Name => Is_Any,
                                  Marker_Name  => Is_Any,
                                  Argument1    => Is_Any,
                                  Argument2    => Is_Any)),
                Markers.Exist ((Marker_Name => Is_Equal (Model_Marker_Name))),  
                Markers.Exist ((Marker_Name =>
                                   Is_Equal (Top_Copied_Model_Marker_Name))),
                Labels.Exist ((Marker_Name => Is_Equal (Model_Marker_Name),
                               Label       => Is_Any)),
                Markers.Absent ((Marker_Name =>
                                    Is_Equal (Selected_Block_Marker_Name))));
    end Premiss;


    procedure Action (Objects : Fact_Collection) is  
        use Fruit_Frames_4;
        use Slot;
        The_Model_Marker : Fact_Name renames Objects (2);
        The_Model_Label  : Fact_Name renames Objects (4);
        The_Label        : Slot.Object;
    begin  
        Output_Stream.New_Line (Output_Stream.Standard_Output);
        Output_Stream.Put_Line ("***************************************",
                                Output_Stream.Standard_Output);
        Output_Stream.Put_Line ("find request rule",
                                Output_Stream.Standard_Output);
        Output_Stream.Put_Line ("***************************************",
                                Output_Stream.Standard_Output);
        Output_Stream.New_Line (Output_Stream.Standard_Output);
        The_Label := Labels.Get (The_Model_Label, Label);
        if (The_Label /= Null_Object) then
            Requests.Add ((Request_Name => Find_Request_Name,
                           Marker_Name  => Selected_Block_Marker_Name,
                           Argument1    => The_Label,
                           Argument2    => Null_Object));
            Markers.Add ((Marker_Name => Selected_Block_Marker_Name));
        else
            Markers.Delete ((The_Model_Marker));
        end if;
        Labels.Delete ((The_Model_Label));
    end Action;



end Find_Request_Rule;

E3 Meta Data

    nblk1=3
    nid=0
    hdr6=6
        [0x00] rec0=1b rec1=00 rec2=01 rec3=00c
        [0x01] rec0=11 rec1=00 rec2=03 rec3=05c
        [0x02] rec0=0c rec1=00 rec2=02 rec3=000
    tail 0x2175159ac86906320c8b8 0x42a00088462063c03