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

⟦6b12c5e11⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Paint_All_Boxes_In_Green_Rule, seg_02cee0, separate Bbr_Painting_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 (Bbr_Painting_Bundle)
package body Paint_All_Boxes_In_Green_Rule is
    function Premiss return Fact_Queries is
    begin
        return (1 => (Boxes.Exist ((Colour       => Is_Different (Green),
                                    State | Size => Is_Any))));
    end Premiss;


    procedure Action (The_Facts : Fact_Collection) is
        The_Box : Fact_Name renames The_Facts (1);
        use Output_Stream;
    begin
        New_Line (Standard_Output);
        Put_Line ("----- Paint_All_Boxes_In_Green -----", Standard_Output);
        New_Line (Standard_Output);
        Put ("Paint : ", Standard_Output);
        Put (The_Box, Standard_Output);
        Boxes.Change (The_Box, Colour, To_Value => Green);
        New_Line (Standard_Output);
        Put ("Now it is : ", Standard_Output);
        Put (The_Box, Standard_Output);
    end Action;
end Paint_All_Boxes_In_Green_Rule;

E3 Meta Data

    nblk1=2
    nid=2
    hdr6=2
        [0x00] rec0=1a rec1=00 rec2=01 rec3=000
        [0x01] rec0=01 rec1=00 rec2=02 rec3=001
    tail 0x21525b01e8412499dd5d9 0x42a00088462063c03
Free Block Chain:
  0x2: 0000  00 00 00 0b 80 05 52 75 6c 65 3b 05 00 00 00 00  ┆      Rule;     ┆