DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: ┃ B T ┃
Length: 1397 (0x575) Types: TextFile Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11 └─ ⟦129cab021⟧ »DATA« └─⟦this⟧ └─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16 └─ ⟦6f12a12be⟧ »DATA« └─⟦this⟧ └─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04 └─ ⟦d65440be7⟧ »DATA« └─⟦this⟧
separate (Bbr_General_Bundle) package body Pair_Ball_And_Boxes_Rule is function Premiss return Queries is begin return (Balls.Exist ((Size => Say_It_Is (S), Colour => Say_It_Is (C), Place => Is_Equal (On_Heap))), Boxes.Exist ((Colour => Is_Equal (C), Size => Say_It_Is (T) and Is_Greater (S), State => Is_Equal (Free))), Boxes.Absent ((Colour => Is_Equal (C), Size => Is_Less (T) and Is_Greater (S), State => Is_Equal (Free)))); end Premiss; procedure Action (The_Pair : Fact.Collection) is The_Ball : Fact.Name renames The_Pair (1); The_Box : Fact.Name renames The_Pair (2); begin New_Line (Standard_Output); Put_Line ("----- Pair_Ball_And_Boxes -----", Standard_Output); New_Line (Standard_Output); Put ("The ball : ", Standard_Output); Balls.Put (The_Ball, Standard_Output); New_Line (Standard_Output); Put ("Has been paired with : ", Standard_Output); Boxes.Put (The_Box, Standard_Output); Balls.Change (The_Ball, Place, To_Value => In_Box); Boxes.Change (The_Box, State, To_Value => Busy); end Action; end Pair_Ball_And_Boxes_Rule;