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: 1472 (0x5c0) Types: TextFile Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11 └─ ⟦129cab021⟧ »DATA« └─⟦this⟧ └─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11 └─ ⟦129cab021⟧ »DATA« └─⟦e24fb53b7⟧ └─⟦this⟧
separate (M_Rule_Bundle) package body Change_Three_Notes_Rule is use Alias; use M_Frames; use Slot; use M_Kbs.Kbs.Predicate; use M_Kbs.Kbs.Predicate.System_Defined_Predicate; function Premiss return Fact_Queries is begin return (Bank_Notes.Exist ((Value => Is_Equal (2), Power => Define_As (P))), Bank_Notes.Exist ((Value => Is_Equal (2), Power => Is_Equal (P))), Bank_Notes.Exist ((Value => Is_Equal (1), Power => Is_Equal (P)))); end Premiss; procedure Action (Objects : Fact_Collection) is First_Note : Fact_Name renames Objects (1); Second_Note : Fact_Name renames Objects (2); Third_Note : Fact_Name renames Objects (3); The_Power : Integer := Bank_Notes.Get (First_Note, Power); use Output_Stream; On_Screen : Output_Stream.Object := Standard_Output; begin New_Line (On_Screen); Put_Line ("********** Changing tree notes into one note **********", On_Screen); Bank_Notes.Delete (First_Note); Bank_Notes.Delete (Second_Note); Bank_Notes.Delete (Third_Note); Bank_Notes.Add ((Value (5), Value (The_Power))); M_Kbs.Kbs.Fact_Base.Working_Memory.Default_Put (Output_Stream.Standard_Output); end Action; end Change_Three_Notes_Rule;