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

⟦ae9679a35⟧ Ada Source

    Length: 4096 (0x1000)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body A_Reserved_Box_Exist_Rule, seg_04b347, separate Bgrb2_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 (Bgrb2_Rule_Bundle)

package body A_Reserved_Box_Exist_Rule is  
    use Bgrb2_Frames;
    use Fact_Base;

    function Premiss return Fact_Queries is
    begin
        return (Boxes.Exist
                   ((Number => Predicate.System_Defined_Predicate.Is_Any,
                     State  => Predicate.System_Defined_Predicate.Is_Equal
                                  (Reserved))),
                Robots.Absent
                   ((Action     =>
                        Predicate.System_Defined_Predicate.Is_Equal (Taking),
                     Working    =>
                        Predicate.System_Defined_Predicate.Is_Equal (No),
                     Identifier => Predicate.System_Defined_Predicate.Is_Any)));
    end Premiss;


    procedure Action (Objects : Fact_Collection) is
        On_Screen : Output_Stream.Object := Output_Stream.Standard_Output;
    begin
        Output_Stream.New_Line (On_Screen);
        Output_Stream.Put_Line
           (" --------------------------------------------------------------",
            On_Screen);
        Output_Stream.Put_Line
           (" --          WAITING BECAUSE RESERVED BOX EXISTS             --",
            On_Screen);  
        Output_Stream.Put_Line
           (" --------------------------------------------------------------",
            On_Screen);
        Output_Stream.New_Line (On_Screen);
    end Action;


end A_Reserved_Box_Exist_Rule;

E3 Meta Data

    nblk1=3
    nid=2
    hdr6=4
        [0x00] rec0=1c rec1=00 rec2=01 rec3=006
        [0x01] rec0=0d rec1=00 rec2=03 rec3=001
        [0x02] rec0=0b rec1=00 rec2=00 rec3=004
    tail 0x2174fea8c867c395d7156 0x42a00088462063c03
Free Block Chain:
  0x2: 0000  00 00 00 2a 00 00 00 00 00 00 00 1e 65 6e 64 20  ┆   *        end ┆