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

⟦32a353b28⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Mark_Bottom_Left_For_New_Tower_Rule, seg_04bc31, separate Decision_System_3.Fruit_Rule_Bundle

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 (Decision_System_3.Fruit_Rule_Bundle)

package body Mark_Bottom_Left_For_New_Tower_Rule is

    function Premiss return Fact_Queries is  
        use Fruit_Frames;
    begin
        return (Markers.Exist ((Name => Is_Equal (Model_Marker_Name))),
                Markers.Absent ((Name => Is_Equal
                                            (Selected_Block_Marker_Name))),
                Markers.Absent ((Name => Is_Equal
                                            (Top_Copied_Model_Marker_Name))));
    end Premiss;


    procedure Action (Objects : Fact_Collection) is  
        use Visual_System_3;
        use Fruit_Frames;
        Model_Marker    : Fact_Name renames Objects (1);
        Moving_Possible : Boolean := True;
    begin  
        while Moving_Possible loop
            Moving_Possible := Move (Top_Copied_Model_Marker_Id, Down);
        end loop;
        Moving_Possible := True;
        while Moving_Possible loop
            Moving_Possible := Move (Top_Copied_Model_Marker_Id, Left);
        end loop;

        if Get_Label (Top_Copied_Model_Marker_Id) = Null_Label then  
            Markers.Add ((Name => Top_Copied_Model_Marker_Name));
            Protect_Column (Top_Copied_Model_Marker_Id);
        else  
            Make_Coincided (What_Id      => Selected_Block_Marker_Id,
                            With_What_Id => Top_Copied_Model_Marker_Id);
            Markers.Add ((Name => Selected_Block_Marker_Name));
        end if;
    end Action;

end Mark_Bottom_Left_For_New_Tower_Rule;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1c rec1=00 rec2=01 rec3=026
        [0x01] rec0=0e rec1=00 rec2=02 rec3=001
    tail 0x21750f3ec86895c24f1d3 0x42a00088462063c03