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

⟦a16af53ed⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Mark_Block_For_New_Tower_Rule, seg_04bc4a, separate Fruit_Rule_Bundle_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 Visual_System_1;
separate (Fruit_Rule_Bundle_1)

package body Mark_Block_For_New_Tower_Rule is


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


    procedure Action (Objects : Fact_Collection) is  
        use Visual_System_1;
        use Fruit_Frames_1;
        Model_Marker : Fact_Name renames Objects (1);
        The_Label    : Labels;
        Found        : Boolean := True;
    begin  
        The_Label := Get_Label (Model_Marker_Id);
        -- search for another block with same label as model block
        -- BUT NOT THE MODEL BLOCK ITSELF : must protecte the model !
        Protecte_Column (Model_Marker_Id);

        Found := Find (The_Label, Selected_Block_Marker_Id);
        if Found then
            Markers.Add ((Name => Selected_Block_Marker_Name));
        else --arret
            Markers.Delete (Model_Marker);
        end if;
    end Action;

end Mark_Block_For_New_Tower_Rule;

E3 Meta Data

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